In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail the 25 Apache performance optimization skills that Web developers must know are Dongmen, the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.
Apache section:
1. Remove unused modules.
two。 Use mod_disk_cache NOT mod_mem_cache.
3. Flat architecture configuration mod_disk_cache.
4. Install the appropriate Expires, Etag, and Cache-Control Headers.
5. Cache on a separate disk
6. Use pipe logs instead of direct records
7. Put the logs on different disks
8. Use mod_gzip/mod_deflate.
9. Turn off HostnameLookups.
10. Avoid using hostnames in configs.
11. Use persistent connections.
twelve。 Do not set the KeepAliveTimeout too high.
13. Disable .htaccess.
14. Allow symlinks.
15. Close ExtendedStatus.
16. Avoid wildcards in DirectoryIndex.
OS section:
17. Improve Swappiness.
18. Increase the write buffer (Write Buffer) size.
19. Raise * * to open the file.
Application part:
20. Set up front-end proxies for images and style sheets.
21. Use mod_passenger for rails.
twenty-two。 Close safe_mode for php.
23. Do not use threaded mpm with mod_php.
24. Flush buffer pre-rendering.
25. Set the cache for frequently accessed data.
About Web developers must know 25 Apache performance optimization skills are Dongmen to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.