025d70dd13
Otherwise we end up with views including URLs from all the betas, leading to some confusion and problems with the CSP.
18 lines
405 B
YAML
18 lines
405 B
YAML
default_options: &default_options
|
|
store_options:
|
|
max_age: <%= 60.days.to_i %>
|
|
namespace: <%= "#{Rails.env}#{"-#{ENV["CACHE_NAMESPACE"]}" if ENV["CACHE_NAMESPACE"]}" %>
|
|
|
|
default_connection: &default_connection
|
|
database: cache
|
|
|
|
default: &default
|
|
<<: *default_connection
|
|
<<: *default_options
|
|
|
|
development: *default
|
|
test: *default_options
|
|
beta: *default
|
|
staging: *default
|
|
production: *default
|