Installing mod_deflate. I already published in AskUbuntu; I invite anyone to answer
Moderator Edit: The linked question has been added below for reference.
I want to emphasis the first part of my heading The most basic way because when I searched a way for how to install this module on Apache 2.4, I found about 8 different articles, almost all with slightly different installation instructions. While reading, these questions rose up to me (I want to emphasis the last 2, which in some look, are integral part of this very question): Should I uncomment 1 or 2 or 3 directives in apache2.conf? Should I add one or 2 PCRE code blocks after uncommenting? Which of these ways can contribute most performance from the (Gzip) compression? Is it even possible to determine these without being an Apache-PCRE expert? I believe an answer to the last two would be the most global and appropriate, and could help newcomers like me to handle better with this, especially in uptight times. Some of the documentation I've checked: The official documentation doesn't remind uncommenting LoadModule in apache2.conf while some external articles do, see for example answer by Karim79, as well as this article, and this one in DO.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×