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?
Share to: more
------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--------------------
Reference:
Quote: Reference:
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.