Each page request in my app pulls down about 30 assets (JavaScripts and images), which is both third-party stuff in vendors/ and app/ stuff. Of course, all the JavaScript is combined and minified in production, so it's fine there, but in development, it's really slow. Like 8 seconds to load the page and will only get worse. Is this normal and what can be done to speed it up?
I tried moving images from assets/ to public/, but it serves them just as slowly. About 3-4 files a second.
This is happening on a fast Macbook Pro with both WEBrick and Unicorn.
Turning off asset debugging should improve the speed a bit.
#development.rb
config.assets.debug = false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With