HTML5 cache manifest no cache for html file itself

前端 未结 3 2319
小蘑菇
小蘑菇 2021-02-14 08:33

index.php:


cache.manifest

CACHE MANIFEST

CACHE:

/img.png
FALLBACK:
/ /offlin         


        
3条回答
  •  野性不改
    2021-02-14 09:33

    No, the file which references the manifest is always itself cached. From the spec:

    The resource that declares the manifest (with the manifest attribute) will always get taken from the cache, whether it is listed in the cache or not, even if it is listed in an online whitelist namespace.

提交回复
热议问题