You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sergio has already optimized the SVGs in public/images/fide-fed. However, some SVGs are too complex to be optimised further.
On a fresh load for a broadcast with lots of players, users are downloading almost 200kB of just flags. That's almost as much as our JS. Users should not be downloading such large SVGs for a 15px x 10px img. We should replace them with simpler versions.
There are ~30 flags that are >10kB. For comparison, the PNG flags that are displayed in user profiles (images/flag) are all 2kB or less (except one).
The text was updated successfully, but these errors were encountered:
note: FIDE flags are also used at lichess.org/fide
There are even some optimizations that can be done by hand
which costs a little more time
But of course it's not easy
and leaving a static image, depending on what is done, can look terrible
Sergio has already optimized the SVGs in
public/images/fide-fed
. However, some SVGs are too complex to be optimised further.On a fresh load for a broadcast with lots of players, users are downloading almost 200kB of just flags. That's almost as much as our JS. Users should not be downloading such large SVGs for a 15px x 10px img. We should replace them with simpler versions.
There are ~30 flags that are >10kB. For comparison, the PNG flags that are displayed in user profiles (
images/flag
) are all 2kB or less (except one).The text was updated successfully, but these errors were encountered: