Application Cache(Also known as AppCache ) in HTML5, means that a user can browse, navigate and access the web application offline.
Advantages of AppCache:
It allows user to navigate and browse the website offline.
The speed is fast to load the files
It helps in reducing the load on the server.
Working of AppCache:
This process works with the help of manifest file using "appcache" file extension.
`<html manifest="abc.appcache">`
....
`</html >`
Manifest file:
The manifest file is a text file that defines you to save the resources used by the webpage.
Manifest files are divided into following three sections:-
The Cache: This section allows to store the resources locally.
The Fallback: This section defines resources to be used when other resources are not available
The Network: This section allows resources to be accessed when there is a network connection. This section does not save the resources.
After creating manifest file, upload it in the server.
0 Comment(s)