function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
meyerdmeyerd 

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'?

dmitri_inetindustrydmitri_inetindustry

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">

DuTomDuTom

<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.