mumble-web icon indicating copy to clipboard operation
mumble-web copied to clipboard

index.js file is too big

Open izlence opened this issue 5 years ago • 2 comments

Hello, this is an exciting project. I have some difficulties using it. Is this a way to reduce the size of index.js file. It is about 7.5 MB. It takes a lot of time for first load.

And also it would be better to show a progress bar for display loaded percentage.

izlence avatar Apr 01 '19 19:04 izlence

Is possible to use the biggest part of this javascript into a Node.js server?

ghost avatar May 12 '19 20:05 ghost

Is possible to use the biggest part of this javascript into a Node.js server?

Well, that would put the load on the server itself. Also, I guess most of it is audio encoding/decoding, which you want to do on client side anyway.

I have simply put index.js into terser, and got about -15% in size. This is still quite big, but it seems worth doing anyway.

hferee avatar Apr 03 '20 09:04 hferee