Newer Version Available

This content describes an older version of this product. View Latest

Offline Caching Using the HTML5 manifest Attribute

Use the manifest attribute of the <apex:page> tag to set an HTML5 cache manifest for offline caching of a page’s critical resources.
The value of the manifest attribute is passed through to the generated HTML. For example:
Renders the following <html> tag:

The manifest attribute is available on the <apex:page> tag for Visualforce pages set to API version 28.0 or higher, and also requires that the applyHtmlTag is set to true (the default).

You can use Visualforce to provide a page’s cache manifest. For example, the CacheManifest page referenced above might be: