From: Tom Hughes Date: Fri, 6 Jul 2007 13:47:13 +0000 (+0000) Subject: Disable asset tagging to get better caching of assets. X-Git-Tag: live~8283 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/55d8bc5256606d3922116cc5ae64330378533301 Disable asset tagging to get better caching of assets. --- diff --git a/config/environment.rb b/config/environment.rb index c109a5d87..48af192aa 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -4,6 +4,9 @@ # you don't control web/app server and can't set it the proper way ENV['RAILS_ENV'] ||= 'production' +# Don't add asset tags +ENV["RAILS_ASSET_ID"] = '' + # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION = '1.2.3'