Such as: Dynamic page static, optimize the database, use load balancing, use cache and so on can optimize the page response time.
If some content on the page does not change frequently (hours, days or longer without making changes), it is a very effective way to accelerate the dynamic page static, such as: News release system, article publishing system, etc.
The benefits of dynamic page statics:
1. Reduce the computational time of server scripts;
2, reduce the response time of the server, reduce the pressure of the server;
For example, when we are going to execute a php file, we usually go through the steps of "parsing", "compiling" and "running", but when we go to execute an HTML file, we only need to pass the "run" step. So this will save a part of the time;
Also, when we are going to execute a dynamic program, we usually go through the "Connect database server or cache server", "Get Data", "populate the data to the template" steps, and then render the page to the user, and the static file will be directly "run" and then render the page to the user. It also saves a part of the time;
The above describes the PHP page static-Optimized page response time, including aspects of the content, I hope to be interested in PHP tutorial friends helpful.