9

I would like to make the Meteor (meteor.com) app load without connectivity to the meteor server(offline) via cache manifest.

I think a similar question has already been asked here: How can I add a cache manifest to a Meteor app? but I couldn't follow their solution (more on this below).

Is there a simple way to include a cache manifest on a Meteor app and have the manifest populated with all the meteor assets?


From the related post my questions are:

  • You can get a full list of css and js files by hooking into: bundle.css and bundle.js.client

    What is involved in "hooking into" those files? How should I proceed?

  • buffer.files.client_cacheable['manifest.appcache'] = new Buffer(manifestcontent);

    What does this do and where should it go?

  • Then you can edit /app/lib/app.html.in to add the reference in

    Is this just the manifest="/application.manifest" bit in the html tag?

Community
  • 1
  • 1
Timothy Ahong
  • 325
  • 2
  • 9
  • Just type `meteor add appcache` http://stackoverflow.com/questions/10668687/how-can-i-add-a-cache-manifest-to-a-meteor-app/10679062#10679062 – user1506145 Jun 04 '15 at 12:55

1 Answers1

1

I would find it easier to build your manifest from outside, using ManifestR. The page also included how it should be added into the <head> of each page.

Mooseman
  • 18,763
  • 14
  • 70
  • 93