Hey, y'all, I've been searching for an answer to this question, but I seem to be going around in circles. Does anyone have any pointers?
I'd like to start using HTML5 manifest file caching in my heroku app. I understand that the manifest file must be served as MIME type text/ cache-manifest, but I can't figure out how to do this at heroku. According to heroku's tech support, they support "whatever Varnish delivers out of the box." I can't determine whether Varnish sets .manifest files to text/cache-manifest automatically. Alternatively, some web sites suggest setting the MIME type in Rails. Is this as simple as putting something like this in my application controller file? Mime::Type.register "text/cache-manifest", :manifest I thought Mime::Type.register was only for use with respond_to / format, but this seems to be the best option I've found. Has anyone added manifest file caching to their heroku apps successfully? Cheers, Michael -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
