[OpenLayers-Dev] Caching layerimages by browsers
Tim Schaub
tschaub at opengeo.org
Tue Mar 9 14:36:24 EST 2010
Tim Schaub wrote:
> Claude Philipona wrote:
... snip ...
>
> At some point, I imagine this Firefox limitation will be gone. Properly
> using cache related headers will always be good advice.
>
https://bugzilla.mozilla.org/show_bug.cgi?id=290032
Though it has been open for 5 years, there's always hope :)
Tim
> Tim
>
>> The Firefox disk cache hash functions can generate collisions for
>> URLs that differ only slightly, namely only on 8-character boundaries.
>> When resources hash to the same key, only one of the resources is
>> persisted to disk cache; the remaining resources with the same key have
>> to be re-fetched across browser restarts. Thus, if you are using
>> fingerprinting or are otherwise programmatically generating file URLs,
>> to maximize cache hit rate, avoid the Firefox hash collision issue by
>> ensuring that your application generates URLs that differ on more than
>> 8-character boundaries.
>>
>> Claude
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>
>
--
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.
More information about the Dev
mailing list