Introduction
Apache is a powerful web-server used by the majority of websites today. It comes with many modules pre-installed so that server administrators do a straight through installation with no major intervention. This is good for a fast deployment of your website, however, as traffic and content start to grow, performance takes a notable hit.
In order to mitigate this performance degradation, there are some techniques you can employ so that your server and website can stay at top performance at all times:
- Unload unneeded modules
- Move Code out of Apache and the difference can be dramatic.
- Limit the Number of Apache Processes and Children according to your server's resources.
- You can go with Alternate MPM Configuration.
- Compress content with gzip.
- Optimize images.
- Leverage browser caching.
- Make sure to correctly position blocking javascripts.
- Use mod-security
- Enable keep-alive.
Enjoy!
or