summaryrefslogtreecommitdiffhomepage
path: root/config/cache.yml
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-03-30 19:03:22 +0900
committerAdam Malczewski <[email protected]>2026-03-30 19:03:22 +0900
commit952c6b565832dd0dbcef7a9a80edc871f79e15a8 (patch)
tree698db27a35f8f40356a0381a32a02767481dc6a9 /config/cache.yml
downloaddispatch-api-952c6b565832dd0dbcef7a9a80edc871f79e15a8.tar.gz
dispatch-api-952c6b565832dd0dbcef7a9a80edc871f79e15a8.zip
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