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)?

asked 2 months ago104 views
1 Answer
0
Accepted Answer

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
EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions