Same for the .htaccess file on Apache server, this file must be modified with:
If the web server is IIS (rarer but possible), there are two different types of compression: static and dynamic. The official documentation explains how to enable compression.
Why rare but possible? Because, as a rule, a CMS like the most classic ones mentioned above is made in PHP, a server-side programming language typical of Linux machines, with a native Apache the usage of instagram database WebServer and not IIS , which is instead proprietary to Windows solutions where the good old ASPX , CSHARP and .NET languages are preferred (yes, with a dot too).
Here is the official Microsoft documentation .
3. Manage Resources for Render Blocking
This is one of the reasons that most often are at the base of a too slow loading of a web page. Normally, and especially with CMS, it is difficult to prevent the use by the theme or added plugins, of CSS and JavaScript files that are also too complex and heavy, so it is normal to find yourself in the situation of having to best manage what is usually called Above The Fold content , that is, the content displayed in the first screen that the user has available in his visualization, and which must be immediately useful, even before the visitor himself performs the initial scroll.
These block resources are loaded (usually) in the first part of the document, so in the HEAD section and require fractions of a second to be correctly managed by the browser. Fractions that combined with the rest of the content can significantly lengthen the correct rendering of the complete page.