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