Revision 1079:413d1d9c3efa
| config/environment.rb | ||
|---|---|---|
| 36 | 36 |
|
| 37 | 37 |
# Enable page/fragment caching by setting a file-based store |
| 38 | 38 |
# (remember to create the caching directory and make it readable to the application) |
| 39 |
# config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
|
|
| 39 |
config.action_controller.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
|
|
| 40 |
|
|
| 41 |
# And for direct uses of the cache |
|
| 42 |
config.cache_store = :file_store, "#{RAILS_ROOT}/tmp/cache"
|
|
| 40 | 43 |
|
| 41 | 44 |
# Activate observers that should always be running |
| 42 | 45 |
# config.active_record.observers = :cacher, :garbage_collector |
Also available in: Unified diff