testing brotli vs gzip
1 |
content-encoding: br |
curl -I -H ‘Accept-Encoding: br’ https://blog.minirplus.com
1 2 3 4 |
HTTP/1.1 200 OK ... Content-Encoding: br ... |
result
- br
- Network Transferred: 408 kb
- Content-Length: 10640
- gzip
- Network Transferred: 423 kb
- Content-Length: 11417
know more
install dependency
1 |
apt install brotli -y |
enable apache mod
1 |
a2enmod brotli |
set brotli on
1 2 3 4 5 |
... <IfModule mod_brotli.c> SetOutputFilter BROTLI_COMPRESS </IfModule> ... |
There are no comments yet