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 Blogs - https://code-sample.com and https://code-sample.xyz
My Book1 - BEST SELLING ANGULAR BOOK (INCLUDING ALL VERSIONS 2, 4, 5, 6, 7)
My Book2 - ANGULAR 2 INTERVIEW QUESTIONS BOOK - Both Books are Available on WorldWide.

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