Exclusive: two key points set for Apache server in Linux 2

Source: Internet
Author: User
Exclusive: exclusive: two key points set for Apache server in Linux 2: Linux Enterprise Application-Linux server application information. The following is a detailed description. Exclusive: two key points set for Apache server in Linux 2
The Apahce Server is a stable, commercial, and open-source HTTP server. It is dominant in the HTTP market. According to statistics from authoritative departments, the market share of Apache servers is about 60%, showing its market influence.
In addition, this parameter is often used together with the CacheLastMoidffiedFaor parameter. As the name suggests, this parameter is mainly used to update files in the data cache space, but it is not a simple time parameter, but a time coefficient. On the Apache server, the expiration time in the cache file is calculated based on this coefficient. If a file in the data cache has been last modified for 30 hours, and this parameter is 0.1 (default), the expiration time is the product of the two values, that is, 3 hours. After three hours, the data cache file is automatically deleted (provided that the preceding data cache time interval parameter is enabled ). This can save data cache space and improve hard disk utilization. It can also ensure the effectiveness of information in the data cache.
3. Disable caching. Not all websites actually need this data cache. For websites that provide fund net worth or dynamic stock information, data caching is not required. Because the information of these websites is highly time-effective. Generally, websites with frequently changed content do not require data caching. If this technology is used, it is possible that the stone is lifted to hit your own feet. Therefore, if you need to disable this data cache, you can use the NoCahce command to disable this data cache function. If you use technologies such as virtual hosts on a server to implement multiple websites, you can also set them separately based on the purpose of the website. For example, you can disable caching for websites such as news or funds that provide timely information, and disable caching for other websites. You can even enable or disable data caching for specific webpages based on their addresses. Obviously, Apache data cache management is more flexible than other application servers.
Author: Hu Chaoming, source: IT expert network, responsible editor: Luo liyan,

The Apahce Server is a stable, commercial, and open-source HTTP server. It is dominant in the HTTP market. According to statistics from authoritative departments, the market share of Apache servers is about 60%, showing its market influence.
In addition, this parameter is often used together with the CacheLastMoidffiedFaor parameter. As the name suggests, this parameter is mainly used to update files in the data cache space, but it is not a simple time parameter, but a time coefficient. On the Apache server, the expiration time in the cache file is calculated based on this coefficient. If a file in the data cache has been last modified for 30 hours, and this parameter is 0.1 (default), the expiration time is the product of the two values, that is, 3 hours. After three hours, the data cache file is automatically deleted (provided that the preceding data cache time interval parameter is enabled ). This can save data cache space and improve hard disk utilization. It can also ensure the effectiveness of information in the data cache.
3. Disable caching. Not all websites actually need this data cache. For websites that provide fund net worth or dynamic stock information, data caching is not required. Because the information of these websites is highly time-effective. Generally, websites with frequently changed content do not require data caching. If this technology is used, it is possible that the stone is lifted to hit your own feet. Therefore, if you need to disable this data cache, you can use the NoCahce command to disable this data cache function. If you use technologies such as virtual hosts on a server to implement multiple websites, you can also set them separately based on the purpose of the website. For example, you can disable caching for websites such as news or funds that provide timely information, and disable caching for other websites. You can even enable or disable data caching for specific webpages based on their addresses. Obviously, Apache data cache management is more flexible than other application servers.
Related Article

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.