enable cache in HTML5

How to enable cache in HTML5?

Using manifest we can cache the file in HTML5. The manifest is a text file which used to decide the where the file is cache. These applies when the application cache is enabled.

<!doctype html>
<html manifest=”myManifesrTest.appCache”>
   //TODO
</html>

There are 4 sections of manifest to cache the file.
  1. cache manifest : is cache the version information
  2. cache : it contain the html, css and jQuery file etc.
  3. network : its contain the network info
  4. fallback : it contain offline html

ANIL SINGH

Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..

My Tech Blog - https://www.code-sample.com/
My Books - Book 1 and Book 2

www.code-sample.com/. Powered by Blogger.
^