Well, adding it will be no problem, but how can I generate the cache manifest? I would need to somehow get the paths to the combined CSS and JS that Meteor generates. http://www.whatwg.org/specs/web-apps/current-work/#manifests
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Update:
As user1506145 said:
https://atmospherejs.com/meteor/appcache
This answer is out of date:
The answer lies in the bundler package, I autogenerated a manifest file there.
You can get a full list of css and js files by hooking into:
bundle.cssandbundle.js.clientOnce you have managed to get them a manifest file you will need to do the following with a manifestcontent var you have generated (dont forget to exclude from caching all the meteor urls needed):
This will have your application serving the appcache file. Then you can edit /app/lib/app.html.in to add the reference in.
My issue when I did this was that I wasn’t able to stale the cache often enough so it ended up with an application messed up on reload from the server.