HTML5 Cache — Is it possible to have several distinct caches for a single URL?

前端 未结 7 1246
遥遥无期
遥遥无期 2020-12-09 12:57

Every URL can be linked to a single cache manifest. But I want several cache manifests linked to a same URL. Here is the reason:

Some files I want to be cached are r

7条回答
  •  悲哀的现实
    2020-12-09 13:36

    When the manifest file is changed and the files of the application cache are downloaded again, the normal HTTP caching rules still apply. This means that if you set the correct HTTP caching headers for these large files, you'll get a 304 so these files are not downloaded again. So it's not necessary to split the application cache.

提交回复
热议问题