The HTML5 Application Cache API provides a mechanism for caching the files and resources used by a web page. Once cached, it's as if the user downloaded and installed your application on their device. This allows the application to be used offline when the user is not connected to the Internet.
Browsers may limit the amount of data that can be cached. Some browsers limit it to 5 MB.
The key to getting your application cached is the cache manifest file. This file is a simple text file that contains information about what resources should be cached. It is referenced by the
manifest attribute on the
<html> element of your web page:
Inside the manifest file, you can specify the resources to ...