sprockets-rails
sprockets-rails copied to clipboard
describe performance benefits of disabling config.assets.check_precompiled_asset
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.
any concerns with this documentation update @rafaelfranca ?