Commit b53fb1f3b124cb65e792b1f0e05c9ecc46fac9d7
1 parent
c75b20c8
Exists in
master
and in
1 other branch
Added max-age to notifier.js
This adds some performance to the application clients, they won't need to download it/check for each request.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
config/environments/production.rb
@@ -59,5 +59,6 @@ Errbit::Application.configure do | @@ -59,5 +59,6 @@ Errbit::Application.configure do | ||
59 | 59 | ||
60 | # Send deprecation notices to registered listeners | 60 | # Send deprecation notices to registered listeners |
61 | config.active_support.deprecation = :notify | 61 | config.active_support.deprecation = :notify |
62 | + config.static_cache_control = "public, max-age=7200" | ||
62 | end | 63 | end |
63 | 64 |