Register now and start sharing your code snippets.
-->

Improve page load times by combining JavaScript and CSS files

HTML (Rails) posted about 1 year ago by christian

Add cache => true to combine JavaScript and CSS files and improve page load times.

See changeset 6164 for more information

   1  <%= stylesheet_link_tag     'all',      :cache => true %>
   2      <%= javascript_include_tag  :defaults,  :cache => true %>

Tagged performance, ruby, rails, javascript, css