On 2/19/2014 1:56 AM, Neil wrote:
Where can I find documentation for the new necko cache? So far I've
only turned up some draft planning documents. In particular, I
understand that there is a preference to toggle the cache. What does
application code have to do in order to work with whichever cache has
been enabled?
The old API in netwerk/cache will go away, I'm occasionally checking the
tree if no one has added usage of the old API and fix it (so far I just
found places I forgot to update my self;))
Please, use only and only the new interfaces (which should have enough
comments inlined) under netwerk/cache2.
We have a general preference for now (that will by time go away, along
with most if not all of the old cache code) that switches the back-end
(not the API!) used for caching:
|"browser.cache.use_new_backend"
||0 - the new API calls will end up in the old cache back-end| (now default)
|1 - the new API calls will end up in the *NEW* cache back-end|
The old API talks only to the old cache. It's now used for appcache
(Offline Application Cache) only.
-hb-
||
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform