SchildiChat / schildichat-desktop

Matrix client / Element Web/Desktop fork
https://schildi.chat
Apache License 2.0
370 stars 42 forks source link

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

Open ghost-amnesiac opened 10 months ago

ghost-amnesiac commented 10 months ago

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
dreirund commented 10 months ago

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 commented 10 months ago

I'm currently on vacation. If you tell me the right nginx options, I might add them though.

dreirund @.***> schrieb am Di., 29. Aug. 2023, 09:39:

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

And in some areas and use cases 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!

— Reply to this email directly, view it on GitHub https://github.com/SchildiChat/schildichat-desktop/issues/206#issuecomment-1696929908, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACGLKUDLXG42UM5K2NZ2MHTXXWMBZANCNFSM6AAAAAA3YEO3RU . You are receiving this because you are subscribed to this thread.Message ID: @.***>