How to reset Heroku Rails4 asset pipeline cache

前端 未结 4 1922
猫巷女王i
猫巷女王i 2020-12-09 00:08

According to Heroku documentation:

Heroku now caches 50mb worth of tmp/cache/assets which is a cache directory for the asset pipeline to store inte

4条回答
  •  半阙折子戏
    2020-12-09 00:57

    To purge Heroku's asset cache, you need the Heroku Repo plugin to the Heroku toolbelt. Install that, then use the command

    heroku repo:purge_cache
    

    Deploy after purging the cache.

提交回复
热议问题