First of all, according to this answer, the :cache => true option on stylesheet_link_tag and javascript_include_tag doesn\'t work o
:cache => true
stylesheet_link_tag
javascript_include_tag
Here are the config options to compress your assets.
http://guides.rubyonrails.org/asset_pipeline.html#customizing-the-pipeline
config.assets.css_compressor = :yui config.assets.js_compressor = :uglifier config.assets.compress = true gem 'uglifier' gem 'yui-compressor'