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

demandé il y a 2 mois113 vues
1 réponse
0
Réponse acceptée

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
répondu il y a 2 mois
profile picture
EXPERT
vérifié il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions