[OpenLayers-Dev] Caching layerimages by browsers
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.
Though it has been open for 5 years, there's always hope :)
>> 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.
>> Dev mailing list
>> Dev at openlayers.org
OpenGeo - http://opengeo.org
Expert service straight from the developers.
More information about the Dev