Hacker News new | ask | show | jobs
by debergalis 4282 days ago
[i work at meteor]

Meteor's hot code push on mobile is more sophisticated than this. When you deploy a new version of a Meteor app, clients fetch and save the new client JavaScript bundle along with its static assets. Future launches of the installed app immediately run new code (even offline) without first requiring a round trip to a server.

2 comments

How can something that is offline somehow get new code? Besides that it sounds exactly like a website.
He's saying it caches the JS and all assets when online so that they can continue to function offline.
That sounds awesome. Are you using localStorage?