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

后端 未结 7 1101
别那么骄傲
别那么骄傲 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...

    0 讨论(0)
提交回复
热议问题