Analyze static pages, dynamic pages, and pseudo-static pages

1. What is a static page? II. What is a dynamic page? Third. What is a pseudo-static page? Summary

1. What is a static page?

1. The static page has only one fixed URL. The content on the web page is also fixed, and does not change with different viewers’ access.

2. The content of the web page is released on the website server, no matter whether there is any user access, the content of each static page is saved on the website server. It can be understood that the static web page is a file that is saved on the server, and each web page is a separate file.

3. Static webpage often with. Html, .hml, .xml, .shtml and other common forms as suffixes, without “?”.

4. The static page cannot be connected to the database;

5. Static page development technology: HTML;

advantage:

1. The content of the static web page is relatively stable, the website is friendly, so it is easy to retrieve the search engine;

2. The static page has the fastest speed and does not need to extract data from the database;

3. The website is safer, the HTML page will not be affected by the ASP related vulnerability; and the attack can be reduced to prevent SQL injection. When the database is wrong, it does not affect the normal access to the website.

shortcoming:

1. The content is fixed, the interaction is poor, and there is a large limit in terms of functionality, and the content update maintenance is complex;

2. There is no automated tool to maintain a large number of static page files is unrealistic;

3. The user needs cannot be fully supported.

II. What is a dynamic page?

1. When the browser requests a page, the server generates the HTML page generated by the current time, environmental parameters, database operation, and then sends it to the browser. Obviously, “dynamic” in the dynamic web page refers to the dynamic generation of the server-side page; only when the user requests, the server returns a complete web page. Instead, “static” is real, independent files.

2. Dynamic page development technology:

HTML + JavaScript (Node.js)

HTML + PHP

HTML + ASP.NET (or ASP)

HTML + JSP

HTML + CGI (early dynamic web technology)

3. Many functions can be implemented using dynamic web technology, such as: User Registration, Login, User Management, Online Survey / Research, Order Management, User Comments, and so on.

4. “?” In the dynamic web URL, the search engine is not very friendly, the search engine generally does not access all the content from a website database, or for technical considerations, search engines do not capture the URL “?” Later. So you need to do certain technical deals to adapt to the requirements of the search engine.

5. Common suffixes of dynamic pages: .asp, .jsp, .php, .perl, .cgi;

advantage:

1. Dynamic webpage is generally based on database technology, which can greatly reduce the workload of website maintenance;

2. You can achieve various needs of users;

3. The query information is convenient, and a large amount of data can be stored. It can be queried immediately when it is necessary.

shortcoming:

1. Dynamic sites are not conducive to search engines retrieval or include

2. The cost of dynamic website production is high;

3. Dynamic web page also calls data in the database, high security and confidentiality requirements for the database, requires professional technicians to maintain security.

Third. What is a pseudo-static page?

1. Dockstock is relative to pure static, “false” static page, essentially dynamic page.

2. In order to increase the friendship between the search engine, the dynamic page generates a static page.

3. Not all suffixes of html pages are static pages. Dynamic pages can also be used by the server-side technique using a static page suffix. Common is the REWRITE technology of Apache and Nginx, which is usually the pseudo-static page. It is actually a dynamic page, but it is still static.

advantage:

1. The pseudo-static page does not have a significant increase in the fake static page compared to the static page. After all, it is a “false” static page, essentially a dynamic page, translated as a static page. From the SEO optimization perspective, the most obvious advantage is to process the search engine to handle the pseudo-static page as a static page.

2. Enhance the user’s trust in the webpage.

shortcoming:

Using a fake static state will take up a certain CPU, a large number of pseudo-static pages can cause the CPU overload.

Summary.

1. The static page is all the content on the website is set, but it is dead, then put it up. Regardless of when the user sees is the same.

2. The content of the dynamic page is generated by the program in the database. Different users have access to the page at different times, the display may vary. The content of the web page is based on the program settings.

3. The pseudo-static page is to staticize the dynamic page.

4. Static web page is the foundation of website construction, and there is no contradiction between static pages and dynamic pages. In order to adapt to search engines, even if dynamic website technology can be used, web page content can be converted to a static web page release. 5. Static pages and dynamic pages have features that the website uses a static page or a dynamic web page mainly depends on the functional requirements of the website and the website content. If the website is relatively simple, the number of websites is not very large, and the way to use pure static web pages will be simpler, and it is necessary to use dynamic web technology to implement.

6. Dynamic website can also use the principle of static combination, suitable for use dynamic web pages, if necessary, you can consider using a static web page method to implement, on the same website, dynamic web content and Static web content is also very common at the same time.

7. Static page Access is the fastest; maintenance is more troublesome.

8. The dynamic page takes up a small space, simple maintenance; slow access, if you access more people, it will cause pressure on the database.

9. Use pure static and pseudo static constant differences for SEO optimization.

10. Use a pseudo-static will take up a certain amount of CPU usage, and a large number of use can cause the CPU overload.