• Olissipo@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    4 个月前

    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