Recommendation of 25 Apache Performance Optimization Techniques

Source: Internet
Author: User

tag: blog http OS uses the AR for file data Div

We recommend that you use the 25 Apache performance optimization techniques. Apache is still in the dominant position in the Web Server field, and no developer knows it. This article introduces 25 Apache performance optimization techniques. If you can understand and master them, your Apache performance will be significantly improved! Apache part: 1. Remove unused modules. 2. Use mod_disk_cache not mod_mem_cache. 3. Configure mod_disk_cache for a flat architecture. 4. Install the appropriate expires, etag, and cache-Control headers. 5. Place the cache on an independent disk 6. Use pipeline logs instead of directly recording 7. Place the logs on different disks 8. Use mod_gzip/mod_deflate. 9. Disable hostnamelookups. 10. Avoid using the host name in configs. 11. Use persistent connections. 12. Do not set keepalivetimeout to be too high. 13. Disable. htaccess. 14. Allowed symlinks. 15. Disable extendedstatus. 16. Avoid wildcards in directoryindex. OS: 17. Improve swappiness. 18. Increase the write buffer size. 19. Increase the maximum number of opened files. Application Section: 20. Set the front-end proxy of the image and style sheet. 21. Use mod_passenger for rails. 22. Disable safe_mode for PHP. 23. Do not use threaded MPM with mod_php. 24. Refresh the buffer for pre-rendering. 25. Set cache for frequently accessed data. Original article: Workshop

Recommendation of 25 Apache Performance Optimization Techniques

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.