element-hq / element-hq/element-web

Pre-compress assets

Open
#16,856 0 comments 0 reactions 0 assignees View on GitHub
A-Packaging P4 T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

#### Is your suggestion related to a problem? Please describe.
The assets (most notably JS) are served uncompressed when running from the Docker image, which becomes problematic on bandwidth-limited connections.

#### Describe the solution you'd like.
That the assets be pre-compressed.

#### Describe alternatives you've considered.
N/A

#### Additional context
Some users might want override certain files, such as config.json. See #16837

[zopfli](https://github.com/google/zopfli) was suggested as a gzip alternative by @Glandos

See also #16698.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.