W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2011

Re: [FileAPI] createObjectURL isReusable proposal

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 14 Dec 2011 16:58:34 -0800
Message-ID: <CA+c2ei-Jz5=2t7aMw_LD2k4Kq8cagRqF+_rt+9qgANsZi98aiA@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: Glenn Maynard <glenn@zewt.org>, Adrian Bateman <adrianba@microsoft.com>, "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>, Feras Moussa <ferasm@microsoft.com>
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

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:37 UTC