1.

Briefly Explain Cache Manifest File In Html5 With An Example?

Answer»

CACHE manifest file is simply a TEXT file that dictates the browser, what to store for offline access? It basically list down the required resources for offline access.

</> Following is an example of a SIMPLE manifest file:

CACHE MANIFEST
/decorate.css
/work.js
/amazing.jpg

So, the resources MENTIONED in above manifest file (decorate.css, work.js, and amazing.jpg) will be downloaded and cached locally for offline access.

Cache manifest file is simply a text file that dictates the browser, what to store for offline access? It basically list down the required resources for offline access.

</> Following is an example of a simple manifest file:

CACHE MANIFEST
/decorate.css
/work.js
/amazing.jpg

So, the resources mentioned in above manifest file (decorate.css, work.js, and amazing.jpg) will be downloaded and cached locally for offline access.



Discussion

No Comment Found