Page staticization is also very important as one of the three major technologies for speeding up large websites, along with Memcached and mysql optimization technologies.
So, we should first understand the concepts of static, dynamic, and pseudo-static.
The so-called static: In my personal opinion, it is a simple html web page. Generally used only for viewing.
Dynamic: It is definitely not an active web page, but the user can interact with the server for dynamic data. For example, form data is submitted to the server, etc.
And pseudo-static: it hides the data of dynamic web pages and displays them in the format of static web pages.
Before learning static technology, you need to know that dynamic data interaction is not conducive to search engines, but requires SEO (search engine optimization), and it is not conducive to reducing server pressure. So page staticization came into being.
To illustrate the importance of static processing, this is a request test I did.
Page request server stress test:
ab.exe -n number of requests -c number of requests address.
The following test results will appear: (php page test)
This is the html request test:
Obviously: requesting html is more efficient than requesting php pages. Therefore, it is completely necessary to staticize the web page