matrix-org / matrix-org/matrix.org
PNGs are not opimised (performance issue)
- Dominant language
- JavaScript
- Stars
- 616
- Forks
- 463
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 19
Description
[Google Lighthouse](https://developers.google.com/web/tools/lighthouse/) identified that we ship PNGs with a larger file size than needed:

One script which may help is:
```bash
# Warning: If the optimization fails or the file can't be optimized, the file ends up as a 0 byte file
find . -name '*.png' -exec mv {} {}.old \; -exec pngcrush {}.old {} \; -exec rm {}.old \;
```
Contributor guide
Research direction
Start by inventorying the repository's PNG assets and reviewing the linked Lighthouse finding to identify which files are oversized. Use the issue's pngcrush approach cautiously with backups, then verify that the optimized files are smaller and the website remains intact.
Written by the indexing model from the issue text.
Assessment
- Domain
- performance, web-dev
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100