Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main instance (app.schildi.chat) doesn't use compression for static assets, fails to load on slow downlinks #206

Open
ghost-amnesiac opened this issue Aug 21, 2023 · 2 comments
Labels
build infrastructure enhancement New feature or request prio:medium Medium priority

Comments

@ghost-amnesiac
Copy link

ghost-amnesiac commented Aug 21, 2023

Loading Element Web (app.element.io) 1.11.39 transfers 4.72MB of data and the biggest file transferred is bundle.js, at 1.83MB. gzip compression is used.

Loading SchildiChat Web (app.schildi.chat) 1.11.30-sc.2 transfers 15.29MB of data and the biggest file transferred is vendors~init.js, at 4.71MB. No HTTP compression is used.

SC Web fails to load on a slow downlink because its JS assets are too large. The main offender is vendors~init.js, which can take well over 5 minutes to fully download and will frequently time out. This can be reliably reproduced on a 100kbps - 250kbps downlink. Element will load fine in these environments.

image image
@su-ex su-ex added enhancement New feature or request prio:medium Medium priority build infrastructure labels Aug 22, 2023
@dreirund
Copy link

dreirund commented Aug 29, 2023

time out. This can be reliably reproduced on a 100kbps - 250kbps downlink.

And in some areas or conditions 100kbps is still a lot.

Please, as long as data is flowing, however slow it is, don't time out. It should be possible to use it on a 32kbps connection (on congested GPRS-only connections this happens!) and on connections with several tens of seconds of ping round trip time (I have those frequently).

Especially in an "emergency" situation it might be really good to have Matrix chat working, even if the wait times are long.

Regards!

@su-ex
Copy link
Member

su-ex commented Aug 29, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build infrastructure enhancement New feature or request prio:medium Medium priority
Projects
None yet
Development

No branches or pull requests

3 participants