It turns out the delay was being caused by
More at http://guides.rubyonrails.org/caching_with_rails.html
config.assets.debug = true
inside of development.rb. Setting this to false
resolves the problem.
By default, caching is only enabled in your production environment. To play around with caching locally you'll want to enable caching in your local environment by setting
config.action_controller.perform_caching
to true
in the relevant config/environments/*.rb
file:
Changing the value of
config.action_controller.perform_caching
will only have an effect on the caching provided by the Action Controller component. For instance, it will not impact low-level caching, that we address below.
No comments:
Post a Comment