Hello,
I’m having an issue where assets that are already cached by the browser (e.g. after a reload. I’ve confirmed they are cached from the network tab in the browser devtools) are extremely slow to load in the assets manager, even after they are displayed as loaded (cached in this instance) at the network level. To make things more complicated, this happens only with Firefox Developer Edition and Safari, but not with Firefox or Chrome. The experience is consistent with all browsers.
An example of a page where I’m facing this is Co-working space Anggerik (that’s my app). I have tried to create a PG repro but cannot seem to get the same issue, the PG I created is at https://playground.babylonjs.com/#ZJYNY#694. The code in there is as close as I could get to the assets loading outside of my app. It’s a bit slow to load the first time (on purpose), so please bear with it , and what’s (supposed to be) interesting is on reloads.
I’ve tried to profile the browser (Firefox Dev Edition) during the load but I’m not seeing anything that explains why everything is loading for so long, see my recorded profile at Firefox Profiler if that helps.
Does anyone have any idea what might be happening here? Or how I could debug / profile things in a better way to figure it out?
Thank you.