Skip to content

Conversation

@SergioGlorias
Copy link
Member

Resolves #16467

This will help reduce the bandwidth consumption and processing burden.

@ornicar
Copy link
Collaborator

ornicar commented Jan 30, 2025

› dust public/images/fide-fed-webp -d1
808K   ┌── mini       │█████████████████████████████████████                                        │  48%
880K   ├── img        │████████████████████████████████████████                                     │  52%
1.7M ┌─┴ fide-fed-webp│████████████████████████████████████████████████████████████████████████████ │ 100%

since mini/ is almost as big as img/, does it make sense to have both?

@SergioGlorias
Copy link
Member Author

My idea was that if the browser can't process the CSS, it won't mess up the interface.
It has happened to me that the player list was strange due to internet problems

@SergioGlorias
Copy link
Member Author

or maybe add width and height
https://web.dev/articles/optimize-cls#images_without_dimensions

@ornicar ornicar merged commit d011989 into lichess-org:master Jan 31, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace complex SVGs for some fide-fed flags

2 participants