Application Cache in HTML5

This blog defines one of the best feature of HTML5 is Application Cache.

Application Cache in HTML5

 
Yet HTML5 has many new special elements and attributes, but one of the best features of HTML5 is "Application Cache", that enables us to make an offline session of a web application. It allows to fetch few or all of websites contents such as HTML files, images, JavaScript, CSS ...etc. This feature speeds up the site performance. This is achieved with the help of a file, defined as follows :
  1. <! doctype html><html manifest="example.appcache">  
  2. ....  
  3. ....  
  4. .....  
  5. </html>  
As compared with traditional browser caching it's not compulsory for the user to visit website contents to be cached.