Skip to content
Browse files

switched fragment caching to filestore

  • Loading branch information...
1 parent 40da8e6 commit 0f927be85d9144d2c6c488bd7074fab635d5e798 @rahoulb rahoulb committed Feb 5, 2009
Showing with 4 additions and 3 deletions.
  1. +3 −2 .gitignore
  2. +1 −1 config/environments/production.rb
  3. 0 {public → tmp}/cache/.gitignore
View
5 .gitignore
@@ -1,7 +1,8 @@
db/database.yml
log/*
-tmp/*
db/*.sqlite3
index
.DS_Store
-public/cache/*
+tmp/pids
+tmp/sessions
+tmp/sockets
View
2 config/environments/production.rb
@@ -15,7 +15,7 @@
config.action_controller.perform_caching = true
# Use a different cache store in production
-# config.cache_store = :mem_cache_store
+config.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
# Enable serving of images, stylesheets, and javascripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
View
0 public/cache/.gitignore → tmp/cache/.gitignore
File renamed without changes.

0 comments on commit 0f927be

Please sign in to comment.
Something went wrong with that request. Please try again.