Hi everyone,
I've made some progress, so I'll update you.
The Nginx 1.14.1 version installed by CWP is probably not recent enough for Brotli.
So first I updated Nginx to version 1.27.0 following this video:
https://www.youtube.com/watch?v=jdb1xNFno-0&t=268sOnce this was done I installed Brotli following this tutorial:
https://www.howtoforge.com/how-to-enable-brotli-compression-in-nginx-on-centos-8/Now when I load a wordpress page, the page header says "
Content-Encoding: br" which should mean that Brotli is running.
I have one last problem to solve to be satisfied.
The plugin I use for cache management is called "W3 Total Cache". To allow me to activate Brotli Compression, it requires loading the extension in the php.ini;
Reading online, it seems that all you need to do is enter the following: extension=brotli.so
I did it, unfortunately phpinfo(); it doesn't show me the extension among those loaded. I don't know what else to do.
I noticed something.
In the "PHP PECL extensions" section, in "Packages Availables", there is the possibility of installing the Brotli extension directly from the Administration Panel, but only if the default PHP version is 5.6, which however is not compatible with Brotli .
So I entered the default PHP version 8u.3.8, but the "Channels" and "Packages Availables" lists are empty.
I do not know what to do. At this point I'm stuck.