The cache manifest in HTML5 was a software storage feature which provided the ability to access a web application even without a network connection.
[3] Using any of the offline Web application features at this time is highly discouraged and use of service workers is recommended instead.
HTML5 provides the ability to access the web application even without a network connection using the cache manifest.
When connecting to a network for the first time, a web browser will read the HTML5 manifest file, download the resources given and store them locally.
In order for the offline applications to work, a cache manifest file must be created by the web developer.
It must be served with content type text/cache-manifest[7] The attribute manifest="
The element indicates a file named cache.appcache will contain the list of resources (i.e., test.js, test.css) needed for this web page to work offline.
There is a shift to the explicit section by the header CACHE: and the resources (the CSS stylesheet, JavaScript and the image file) can be downloaded and used offline.
[8] If the browser has visited the web page before and recognizes the manifest file the following events will ensue.