On Nov 9, 2008, at 5:40 PM, Boris Zbarsky wrote:

Nick Peirson wrote:
My extension tries to prefetch the next image in a sequence, e.g. on
browsing to http://www.example.org/1.jpg it tries to prefetch and
cache http://www.example.org/2.jpg. Using prefetchURIForOfflineUse
means browsing to 2.jpg is already cached, where as with prefetchURI
it isn't and 2.jpg loads incrementally when it's browsed to.

That's odd.  prefetchURI should work for what you're doing here.

And the only real difference between prefetch and prefetchForOffline in 3.0 was that prefetchForOffline would put a copy in the offline cache, which was only checked when the browser was in the offline state.

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

Reply via email to