From: Eric Davis Date: Wed, 20 Aug 2008 04:26:46 +0000 (+0000) Subject: Javascripts are now cached into a single file for downloads in production mode. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a899904f6340c337b0e3ac6309731b8bcf95fd56;p=redminele%2Fredmine.git Javascripts are now cached into a single file for downloads in production mode. Thanks to Philippe Lafoucrière for the patch. (#1186) git-svn-id: http://redmine.rubyforge.org/svn/trunk@1748 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 62d542b7..a769fdd6 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -6,7 +6,7 @@ <%= stylesheet_link_tag 'application', :media => 'all' %> -<%= javascript_include_tag :defaults %> +<%= javascript_include_tag :defaults, :cache => true %> <%= stylesheet_link_tag 'jstoolbar' %>