Re: [FileAPI] createObjectURL isReusable proposal

On Wed, Dec 14, 2011 at 4:55 PM, Ian Hickson <ian@hixie.ch> wrote:
> On Wed, 14 Dec 2011, Glenn Maynard wrote:
>>
>> The problem isn't the cost of the URL mapping, it's the cost of keeping
>> the backing Blob around.  If you drag around Google Maps for a long
>> time, and it used object URLs to load its tile images, it'd be very bad
>> if the browser had to keep every tile graphic around for the lifetime of
>> the page.
>
> Browsers do keep them around for the lifetime of the page, in their HTTP
> cache.

This isn't true at least for Firefox. We allow resources to be kicked
out of the HTTP cache even if the page that originally caused the
resource to be loaded is still being used.

I can't speak for other browsers of course.

/ Jonas

Received on Thursday, 15 December 2011 01:53:43 UTC