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.
When testing it I've checked that the http cache headers aren't stopping it being cached, and that it's not expiring from cache immediately, so I'm not sure why prefetchURI doesn't seem to cache the URI in the same way that prefetchURIForOfflineUse does.
I'd be interested in an HTTP log of this interaction. -Boris _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
