Slow access to the apache server for the first time! In the local test, the first visit to the website was obviously slow, and the second visit was very fast. The same problem occurs when you access the service again within a specified period of time. Do you want to solve the cache setting problem? & Nbsp; questions for beginners !!! & Nbsp;, this post was last edited by xuzuning from 2012-12-1919: 03: 11. apache server access was slow for the first time!
In the local test, the first visit to the website was obviously slow, and the second visit was very fast. The same problem occurs when you access the service again within a specified period of time. Do you want to solve the cache setting problem?
Questions for beginners !!!
------ Solution --------------------
At the end of this post, xuzuning edited your description at 19:03:11 on January 19 ,.
When I access the website for the first time, it is naturally slower to load php-related runtime libraries.
The operating system will move unused processes from the memory to the hard disk, so there is a process of retrieving php processes from the hard disk when accessing the process again in the next time.
This will make you feel slow.
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