heroku-build-cache-loaderto the top of your buildpack stack with Heroku CLI
heroku buildpacks:add --index 1 https://github.com/Kenneth-KT/heroku-build-cache-loader.git
heroku-build-cache-persisterto the bottom of your buildpack stack with
heroku buildpacks:add https://github.com/Kenneth-KT/heroku-build-cache-persister.git
.buildcachewhich contains pattern of files (in .gitignore like format) that you want to persist across heroku builds. Example:
# This is a comment and will be ignored # single file single_file.txt # simple glob simple/glob/*.txt # recursive glob recursive/glob/**/*.txt # complex glob complex/glob/**/prefix*suffix.txt
Copy the snippet above into CLI.