On Wed, Oct 17, 2012 at 9:15 PM, Cary Cherng cche...@gmail.com wrote:
In config/environments/production.rb I have set
config.serve_static_assets = true
config.static_cache_control = public, max-age=1000
If I remember right, anything served from /app/assets is not
considered static to the
I solved my problem by running
RAILS_ENV=production bundle exec rake assets:precompile
It appears that the setting for config.static_cache_control is being lazily
cached.
If I do the following, I get back max-age=1000 in the response header
config.static_cache_control = public, max-age=1000
In config/environments/production.rb I have set
config.serve_static_assets = true
config.static_cache_control = public, max-age=1000
But the response header for application-fingerprint.css is something like
the following where you can see max-age hasn't been changed to 1000. I'm
assuming this
3 matches
Mail list logo