Skip to content

Commit 0f927be

Browse files
author
Rahoul Baruah
committed
switched fragment caching to filestore
1 parent 40da8e6 commit 0f927be

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
db/database.yml
22
log/*
3-
tmp/*
43
db/*.sqlite3
54
index
65
.DS_Store
7-
public/cache/*
6+
tmp/pids
7+
tmp/sessions
8+
tmp/sockets

config/environments/production.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
config.action_controller.perform_caching = true
1616

1717
# Use a different cache store in production
18-
# config.cache_store = :mem_cache_store
18+
config.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
1919

2020
# Enable serving of images, stylesheets, and javascripts from an asset server
2121
# config.action_controller.asset_host = "http://assets.example.com"
File renamed without changes.

0 commit comments

Comments
 (0)