Add Wordpress brotli module to AWS Linux 2023

0

How can I add Wordpress brotli module to AWS Linux 2023 for use with Apache2 (not NGINX)?

질문됨 2달 전113회 조회
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
profile picture
전문가
답변함 2달 전
profile picture
전문가
검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠