+ Start a Discussion

html5 serve manifest file as text/cache-manifest for offline support

Any way to serve manifest files from SFDC, static resource, vf page, other with mime type 'text/cache-manifest'?


I posted a comment on the idea page, take a look for more info, this is possible via by setting <apex:page contentType="text/cache-manifest">


<apex:page contentType="text/cache-manifest"> does work if you are using a VFP,  however if ur pulling the manifest and static asset from a zip in static resources,  be sure the zip format is gzip (deflate) not pkzip and it will afix the text/cache-manifest context-type in the HTTP header.