W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2011

[whatwg] Proposal for separating script downloads and execution

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 22 Feb 2011 18:35:37 -0500
Message-ID: <4D644849.20205@mit.edu>
On 2/22/11 6:21 PM, Will Alexander wrote:
> Would a means by which authors can mark a pre-fetched script as
> "stale" allay some of your concerns?

I wouldn't expect anyone to actually use such a means.

> Is there some way to accomplish this in Gecko now for a pre-fetched Image?

If you hold a reference to the <img> node we'll keep the image data 
around in some form (possibly still-compressed, etc; details depend on 
the Gecko version, possibly on whether the tab is currently focused, 
possibly on how much time has passed, etc).

But note that image loads very explicitly do NOT have HTTP semantics, 
last I checked.  In Gecko they coalesce very aggressively in a cache 
that sits in front of the network layer, including coalescing across 
documents, etc.  This cache applies to both in-progress loads and 
completely loads (it's actually a cache of image objects).

Received on Tuesday, 22 February 2011 15:35:37 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:31 UTC