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ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ