- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 22 Feb 2011 18:35:37 -0500
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.
Received on Tuesday, 22 February 2011 15:35:37 UTC