A Beginner's Guide to Using the Application Cache

A Beginner's Guide to Using the Application Cache

http://www.html5rocks.com/en/tutorials/appcache/beginner/?redirect_from_locale=eg
 

A manifest file needs to be served with the correct MIME-type, which is "text/cache-manifest". Must be configured on the web server.

In glassfish3\glassfish\domains\domain1\config\ default-web.xml
  <mime-mapping>
    <extension>manifest</extension>
    <mime-type>text/cache-manifest</mime-type>
  </mime-mapping> 

评论

此博客中的热门博文

XML, XSL, HTML

Input in element.eleme.io

Data URI是由RFC 2397 ACE