Once an HTML document has a manifest (cache.manifest), how can you remove it?

后端 未结 7 1109
别那么骄傲
别那么骄傲 2021-01-31 10:28

It seems that once you have a manifest entry, a la:


Then that page (the master entry in the cache) wil

7条回答
  •  梦如初夏
    2021-01-31 11:28

    One possible solution:

    • modify the manifest (so it reloads)
    • modify the master file (index.html) to reference a non-existant manifest, so it gets a 404

    Hardly elegant, but it seems to work. The main problem then is that you're stuck with this 404-generating false manifest entry until everyone who has ever been to your site has returned and had their cache cleared.

    There has got to be a better way...

提交回复
热议问题