The concepts of dynamic, static and pseudo-static in page staticization_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:46:52
Original
935 people have browsed it

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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template