[whatwg] Proposal for separating script downloads and execution
Boris Zbarsky
bzbarsky at MIT.EDU
Tue Feb 22 15:35:37 PST 2011
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).
-Boris.
More information about the whatwg
mailing list