this post was submitted on 21 May 2025
1026 points (97.9% liked)

memes

14864 readers
6259 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Thorry84@feddit.nl 2 points 16 hours ago (1 children)

How is the size difference after gzip compression? Probably pretty much the same, but I wonder how large the difference is then. Since a lot of folk make sure the contents is gzipped when served to the user.

[–] Olissipo@programming.dev 6 points 15 hours ago (2 children)

Even using the highest compression levels, barely any difference. Not worth it

If I understand correctly gzip, brotli and similar are best used to compress text.

Font files also shouldn't be compressed. A TTF file compresses a bit, but a WOFF2 file will be even smaller than that (and WOFF2 also doesn't compress well). So might as well use WOFF/WOFF2

[–] vvvvv@lemmy.world 2 points 11 hours ago

If I understand correctly gzip, brotli and similar are best used to compress text.

Compression algos should be used on uncompressed data. Using them on already compressed data (most video, images, music formats) is generally useless.

[–] Thorry84@feddit.nl 2 points 14 hours ago

Thanks, very interesting results