Browse files

enable slimmer caching

  • Loading branch information...
1 parent edb3fd2 commit 861f25a64f84589492e3ff6eab7106d53a24f6f3 @garethr garethr committed Jan 20, 2012
Showing with 6 additions and 3 deletions.
  1. +2 −2 Gemfile.lock
  2. +4 −1 config/environments/production.rb
View
4 Gemfile.lock
@@ -147,7 +147,7 @@ GEM
faraday (~> 0.6.1)
multi_json (>= 0.0.5)
pethau (0.0.3)
- plek (0.1.19)
+ plek (0.1.20)
builder
polyglot (0.3.3)
rack (1.3.5)
@@ -191,7 +191,7 @@ GEM
simplecov-html (0.4.5)
simplecov-rcov (0.2.3)
simplecov (>= 0.4.1)
- slimmer (1.1.21)
+ slimmer (1.1.22)
json
nokogiri (~> 1.5.0)
null_logger
View
5 config/environments/production.rb
@@ -59,8 +59,11 @@
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
- config.action_controller.asset_host = Plek.current.find('assets')
+ config.action_controller.asset_host = Plek.current.find('cdn')
+
config.slimmer.asset_host = Plek.current.find("assets")
+ config.slimmer.cache_templates = true
+
config.action_mailer.default_url_options = { :host => Plek.current.find('panopticon') }
config.action_mailer.delivery_method = :ses
end

0 comments on commit 861f25a

Please sign in to comment.