In this section, we will be going over the different steps to optimize our web server installation. Apache for a good part performs very well out-of-the-box but, as the application grows, we come across latencies or performance issues as the number of requests or transactions increases. A few issues that we will be addressing in this section are:
Disabling unused modules
Using compression
Caching
A default installation of the Apache web server arrives with a huge number of pre-installed modules. This is commonly very helpful for a variety of new projects when the main objective is to get hosted and be available to users quickly. A problem that we would notice as the application grows is the latency in responding to a request. A common cause of this problem is that the Apache modules are loaded into the memory and, if there are any modules that are unused, we can deactivate them and save memory. To get a list of the modules...