Friday, April 8, 2016

HTML5 Cache


HTML5 cache

In this Tutorial, I'm going to show you how to make a Web site work offline using the HTML5 cache. The principal of the cache is to use the remote data.

The first time you visit them, you cache them locally on your hard disk. And the next time you visit again the same Web site, if it has not been updated, the data instead of coming from a remote distant server would be taken from your local disk and this will be much much faster.

And, in case you don't have a connection, you will also be able to browse your Web site by just using the local cached data. So this is the general principal of the cache and it existed before HTML5.

What has been added by HTML5? It's a mean for the creator of Web sites to specify in details what should be cached and what should not be cached.

It is relatively very simple to create a manifest file using manifestR online tool.

http://westciv.com/tools/manifestR/

Follow the steps to create your manifest file and place it in your project.


Cheers!

If you have further query please put your remarks.

2 comments:

  1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from Javascript Online Training from India . or learn thru ES6 Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry. HTML5 CSS3 Javascript Online Training from India

    ReplyDelete