ruby on rails - Heroku Repo Size and Slug Size increase with each deployment. Why? -
i change text in application , deploy new version with
git push heroku master
but everytime push, increase lot. write here increasement after each deploy.
168.2 kb 37.9 mb 178.6 kb 38.7 mb 187 kb 39.4 mb 194 kb 40.2 mb 205.3 kb 40.9 mb 232.8 kb 41.8 mb 277.9 kb 42.4 mb 286.5 kb 43 mb if select folders in app project (including public/, tmp/ , log/ ignore slugignore e gitignore) total size 198 kb.
why this?
it's due build cache. speed build process, heroku downloads dependencies, , on time gets built up.
use repo plugin purge build cache, , re-deploy. see slug size being lowered.
https://github.com/heroku/heroku-repo
here more build cache: https://devcenter.heroku.com/articles/git#build-cache
Comments
Post a Comment