Play with solid_cache (#34)

Reviewed-on: #34
This commit is contained in:
Andrew Tomaka 2024-09-08 21:51:16 -04:00
parent bfc017153f
commit 0a25c2ae9a
7 changed files with 53 additions and 6 deletions

16
config/solid_cache.yml Normal file
View file

@ -0,0 +1,16 @@
default: &default
database: cache
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:
<<: *default