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

preguntada hace 2 meses113 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
EXPERTO
respondido hace 2 meses
profile picture
EXPERTO
revisado hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas