aboutsummaryrefslogtreecommitdiffstats
path: root/config/cache.yml
diff options
context:
space:
mode:
Diffstat (limited to 'config/cache.yml')
-rw-r--r--config/cache.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/config/cache.yml b/config/cache.yml
new file mode 100644
index 0000000..19d4908
--- /dev/null
+++ b/config/cache.yml
@@ -0,0 +1,16 @@
+default: &default
+ store_options:
+ # Cap age of oldest cache entry to fulfill retention policies
+ # max_age: <%= 60.days.to_i %>
+ max_size: <%= 256.megabytes %>
+ namespace: <%= Rails.env %>
+
+development:
+ <<: *default
+
+test:
+ <<: *default
+
+production:
+ database: cache
+ <<: *default