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

Hey! I'm Anil Singh. I author this blog. I'm Active Blogger, Programmer. I love learning new technologies, programming, blogging and participating the forum discussions more...
My Blogs - http://www.code-sample.com and http://www.code-sample.xyz
My Books - Google Amazon and Flipkart Book Store!

You Might Also Like
Post a Comment
www.code-sample.com/. Powered by Blogger.