avo.base.js loads really slow #3809
-
My app loads really slow sometimes, and looking at the Chrome dev tools, it turns out that
Now my first thought is: why are these assets loaded without a digest?
Any idea why the non-digested versions are loaded? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
There's this GitHub issue regarding asset fingerprinting, we'll be experimenting with it in Avo 4. It's expected that the assets aren't fingerprinted on the request.
However, the amount of time it takes is unexpected, I haven't encountered this behavior before. I have a few questions. When does it start taking that long? Is this happening in production? Is the internet connection stable and getting enough bandwidth, could you do some troubleshooting on it? You mentioned that it's slow sometimes, is it random? Also, how frequent is it, does it happen often or rarely? |
Beta Was this translation helpful? Give feedback.
-
I don't quite understand the issue you linked to. Is it still up-to-date? My issue is happening in production, everytime the asset is requested and not cached. |
Beta Was this translation helpful? Give feedback.
The GitHub issue I linked is about making the fingerprinted version get loaded by default. Although it has been open for a while, no significant action has been taken yet, it's something to explore in Avo 4.
Not exactly. If assets are getting fingerprinted during your app's deploy, there might be a specific configuration enabling it, such as:
However, by default,
avo.base.js
is not fingerprinted during theassets:precompile
process.What's happening…