thomasballinger / endless-web

A fork of Endless Sky for playing in a browser: try it at https://play-endless-web.com/
GNU General Public License v3.0
20 stars 4 forks source link

Measure data transfer #19

Closed thomasballinger closed 3 years ago

thomasballinger commented 3 years ago

It's hard for me to tell from the Chrome dev tools whether assets are being loaded multiple times, but I suspect they are: image

janisozaur commented 3 years ago

That's odd, to say the least. What and why would load it multiple times? Is it perhaps due to loading assets and only loading parts of it from the data file? But that doesn't explain so many js file loads

thomasballinger commented 3 years ago

I think loading piece by piece with fetch (for the progress bar) may be causing caching not to work right

thomasballinger commented 3 years ago

Fixed by https://github.com/thomasballinger/endless-web/pull/33 image