You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commenting out require('socket.io-client'); removes 500k. Do we really need Socket.io (with all the fallbacks for old browsers and shit)?
Commenting out dat-gui saves 300k
We'd be at ~2.4MB which is still a lot. Need to investigate minifying.
The text was updated successfully, but these errors were encountered:
Why? For our needs, the raw WebSocket API seems to be enough.
the argument of old browser is not enough since they won't support webgl neither.
I don't understand that part. My argument is that we don't need support for old browsers which socket.io brings. You're arguing in favor of removing socket.io here.
i misunderstood i though you wanted to get rid of websocket and the comparison to three was that if you browser doesn't support websocket there are few chances it will support webgl.
Current browserified script is 3.2MB.
Commenting out
require('socket.io-client');
removes 500k. Do we really need Socket.io (with all the fallbacks for old browsers and shit)?Commenting out
dat-gui
saves 300kWe'd be at ~2.4MB which is still a lot. Need to investigate minifying.
The text was updated successfully, but these errors were encountered: