1 個回答
- 最新
- 最多得票
- 最多評論
0
Hello.
It was included by default in Apache modules.
ls -la /etc/httpd/modules/ | grep brotli
-rwxr-xr-x. 1 root root 24272 Oct 25 18:44 mod_brotli.so
So I think you can use it by enabling it in the Apache configuration file.
https://httpd.apache.org/docs/2.4/mod/mod_brotli.html
SetOutputFilter BROTLI_COMPRESS
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-brotli
相關內容
- AWS 官方已更新 2 年前