ruby on rails - Heroku is not including headers with assets -
currently i'm using unicorn server rails_12factor
gem in order serve assets rails server. main application url returning right response headers, assets urls homecoming responses without headers (e.g cache-control
) , need them proper app functioning.
solved adding
config.static_cache_control = 'public, max-age=1000'
to production.rb
.
ruby-on-rails heroku
No comments:
Post a Comment