mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
format
This commit is contained in:
parent
6a0cd08674
commit
a78128b826
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ Rails.application.configure do
|
|||
config.action_controller.enable_fragment_cache_logging = true
|
||||
|
||||
config.cache_store = :redis_cache_store, REDIS_CACHE_PARAMS
|
||||
config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{2.days.to_i}" }
|
||||
config.public_file_server.headers = {
|
||||
'Cache-Control' => "public, max-age=#{2.days.to_i}",
|
||||
}
|
||||
else
|
||||
config.action_controller.perform_caching = false
|
||||
|
||||
|
|
Loading…
Reference in a new issue