sprockets-rails icon indicating copy to clipboard operation
sprockets-rails copied to clipboard

describe performance benefits of disabling config.assets.check_precompiled_asset

Open davidsbailey opened this issue 6 years ago • 1 comments

After hours of debugging long latency on the first call to ActionView::Helpers::AssetUrlHelper.asset_path in development, I finally discovered the performance benefits of disabling config.assets.check_precompiled_asset via this issue: https://github.com/rails/sprockets-rails/issues/352 this reduced time for the first call to asset_path to complete from > 60 seconds to < 1 second on developer machines for our application.

This pull request attempts to improve the documentation for this setting so that people trying to debug similar performance problems will have a clue to try disabling config.assets.check_precompiled_asset.

davidsbailey avatar Jul 24 '19 23:07 davidsbailey

any concerns with this documentation update @rafaelfranca ?

davidsbailey avatar Aug 22 '19 21:08 davidsbailey