HTML5 cache manifest index.html not loading associated files

I am using a manifest file to cache my files. There are some index.html and some javascript libraries in between these files.

After I tested my web page, the files are cached successfully (I checked this with the web inspector), however, when I open the page again, the non-cache related resources get no response.

The link URL is approved because I can use the Copy Link URL parameter and paste the URL in another browser tab and get a response. But on my webpage I am not getting anything.

I tried using NETWORK: * with the same result.

Is it because index.html shouldn't be cached if it's associated with non-cached resources?

early

+3


source to share


2 answers


The return header must be on its own line, for example:

NETWORK:
*

      



(new line after colon).

0


source


Did you use the same template for index.html and undisclosed resources, or include an entry? In this case, you will get a master record for every page that you do not want to cache: every page containing a manifest record will be cached.



0


source







All Articles