[html5] Offline Cache: files not listed in manifest

Ian Hickson ian at hixie.ch
Thu Sep 2 14:50:56 PDT 2010


On Thu, 2 Sep 2010, Brenton Strine wrote:
>
> Why is it that files which are not mentioned in the manifest disappear
> from the page after you reload?
> 
> I have four images being displayed on a page, and my manifest looks like this:
> 
> CACHE MANIFEST
> 
> CACHE:
> img1.png
> 
> NETWORK:
> img2.png
> 
> FALLBACK:
> img3.png img1.png
> 
> When online, all four images load the first time. But if I refresh, the 
> 4th image, which is not mentioned, breaks. Why is this?

To show you what would happen if you were offline, so that you don't 
forget to list everything.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the Help mailing list