1.

What is a manifest file in HTML5?

Answer»

The manifest file is used to list down RESOURCES that can be cached. Browsers use this information to make the web page load faster than the first time. There are 3 sections in the manifest file

  • CACHE Manifest - FILES NEEDS to be cached
  • Network - File never to be cached, always NEED a network connection.
  • Fallback - Fallback files in case a page is inaccessible
CACHE MANIFEST# 2012-06-16 v1.0.0/style.css/logo.gif/main.jsNETWORK:login.phpFALLBACK:/html/ /offline.html<!DOCTYPE HTML><html manifest="tutorial.appcache">......</html>


Discussion

No Comment Found