On 02/19/2014 11:50 AM, Dao wrote:
On 19.02.2014 01:56, Neil wrote:
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?

Nothing? It's a different backend behind the same API, at least that's
my rough and possibly not quite correct understanding...

We've changed the API some time ago. Honza wrote a wrapper that implemented the new API but used the old cache backend. The preference change now just replaces the old backend with the new one.

old API:
http://mxr.mozilla.org/mozilla-central/source/netwerk/cache/*.idl

new API:
http://mxr.mozilla.org/mozilla-central/source/netwerk/cache2/*.idl

Michal

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to