PHP website Refresh browsing speed feel a bit slow solution

Source: Internet
Author: User
Tags php website website load time
PHP website Refresh browsing speed feeling a bit slow
What are the factors that affect website load time in general?

MySQL Database

Considerations: The design of database query statements? Is there a cache set? What is the use of PHP statements?


------Solution--------------------
1, network problems
2. Data io

In general, data IO processing is the slowest, add some time stamp to your program to see the time of each command execution
------Solution--------------------
The mechanism of compiling cache and data cache, regardless of some objective reasons, such as hardware, the impact of database is relatively large, the effect of adding caching mechanism will be obvious
------Solution--------------------
References:
Quote: References:

1, network problems
2. Data io

In general, data IO processing is the slowest, add some time stamp to your program to see the time of each command execution

Other factors, if thoughtful, will also speed up some Web site opening and load speed it?

The company's website introduced a Sina Weibo interface, and then the background to view the site load, the Sina Weibo interface needs to be loaded for some time


Then this will be loaded asynchronously, many websites show that the microblogging information is asynchronous.

Or you could have a cache of this.
  • 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.