Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Progressively load assets on as-needed basis #90

Closed
cvan opened this issue Oct 5, 2016 · 1 comment
Closed

Progressively load assets on as-needed basis #90

cvan opened this issue Oct 5, 2016 · 1 comment
Labels
ARCHIVED CLOSED at time of archiving

Comments

@cvan
Copy link
Contributor

cvan commented Oct 5, 2016

In App.js all of the modules are imported at the same time, which consequently fires off a bunch of XHRs for models, audio, textures, etc - all the assets.

This results in a grand total of 193 HTTP requests at once. That enough XHRs on the main thread is enough to crash most low-end machines, especially mobile devices (which I understand is not our target); it's just something worth mentioning.

Culprit of issues #77 and #86. But, the main one was blocking on audio loading. This can come as an enhancement much later.

@cvan
Copy link
Contributor Author

cvan commented Oct 5, 2016

mrdoob/three.js#4248 (comment) has some good concepts.

@cknowles-admin cknowles-admin added the ARCHIVED CLOSED at time of archiving label Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ARCHIVED CLOSED at time of archiving
Projects
None yet
Development

No branches or pull requests

2 participants