On Oct 10, 3:09 pm, Jeremy Morton <[EMAIL PROTECTED]> wrote:
> Could anyone explain to me why we have 2 redundant ways to, via prefs,
> enable/disable network caching?  network.http.use-cache seems to do the
> same thing as browser.cache.disk.enable and browser.cache.memory.enable
> combined.

What leads you to that conclusion? From a quick look at LXR,
"network.http.use-cache" is read by nsHttpHandler, while the other two
prefs are read by the cache service. Without really looking into it
further it would appear to me that they're not the same thing at all.
Changing "network.http.use-cache" or changing both
"browser.cache.disk.enable" and "browser.cache.memory.enable" may have
the same observable effects if all you're looking at is caching
behavior when visiting web sites using HTTP, but that doesn't mean
they're redundant.

Gavin

_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to