How to reset Heroku Rails4 asset pipeline cache

前端 未结 4 1915
猫巷女王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:48

    I had this problem, then i realized I forgot to configure to serve static assets on the production env, inside config/enviroments/production.rb

    config. serve_static_files = true
    

提交回复
热议问题