AdmitHub / meteor-buildpack-horse

Heroku buildpack for Meteor v1.0+. The horse one.
MIT License
641 stars 586 forks source link

Cache node modules and meteor build #195

Open maxnowack opened 6 years ago

maxnowack commented 6 years ago

I've added caching for development and production node_modules. I'm also saving the cache, meteor generates during the build. Reusing that cache, reduced my build time from ~30 minutes to ~10 minutes (!)

maxnowack commented 5 years ago

Sorry for the long delay. I made the change you've requested :)

edmorley commented 5 years ago

Hi! Presuming there might be compiled packages within node_modules, you may need to also add handling to bust the cache for stack upgrades (eg have a cache signature that is based on $STACK amongst other things).