On 11/29/2012 12:41 PM, Jan Honza Odvarko wrote:
Firebug's Net panel is already showing responses coming from BFCache
(http://www.softwareishard.com/blog/firebug/firebug-tip-what-the-heck-
is-bfcache/) and now we'd like to support also Application Cache:
https://developer.mozilla.org/en-US/docs/HTML/Using_the_application_cache

When using this demo page:
http://appcachefacts.info/demo/

...the Net panel actually already shows responses coming from the app-
cache. Does it mean that app-cache shares some logic with BFCache?
Absolutely not I'd say.
E.g. both caches support http-on-examine-cached-response event, right?
I believe so, since app-cache loads are considered by necko concerning http-on-* events as a usual cached load
Can Firebug somehow distinguish responses from BFCache and app-cache?
You may QI the channel to nsIApplicationCacheChannel and check for loadedFromApplicationCache attribute. I'm just interested in how you recognize a bfcache load, nsIWebProgressListener::STATE_RESTORING flag check?
-hb-

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



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

Reply via email to