Assets
The main reason is probably asset loading. Are you in a development environment? By default, assets are not precompiled (and I believe that resource caching is also disabled)
You may not see the related GET requests because you are using the βsilent assetsβ gem. I'm so tired of seeing all the GET requests for assets (javascript / css) that I put in this Gem file and forgot about it for a while. But then it still continued.
Service assets can be very long. For example, I use jquery ui, and at the beginning I called //require jquery.ui.all in application.js . Turns out it actually sends dozens of files just for jquery.ui. And even if the files are small and are served very quickly, there is some delay between successive GET requests / responses, which caused the application response time to localhost / development to be excessively slow
You do not want to precompile assets in development, but you can get rid of useless ones (if you use jquery, most likely you need only a few files, not all)
The response time of my server is 10 to 100 times faster when testing / manufacturing with precompiled assets.
source share