Best way to combine and minify JS / CSS on Heroku

后端 未结 8 1280
梦谈多话
梦谈多话 2020-12-24 06:39

First of all, according to this answer, the :cache => true option on stylesheet_link_tag and javascript_include_tag doesn\'t work o

8条回答
  •  攒了一身酷
    2020-12-24 07:11

    GitHub has a good answer for this, and I'm sure you could modify Heroku's deployment scripts to integrate:

    http://github.com/blog/551-optimizing-asset-bundling-and-serving-with-rails

提交回复
热议问题