Pseudo-static is relative to real static. Usually, in order to enhance the friendliness of search engines, we generate static pages from article content, but some friends want to display some information in real time. Or you want to use dynamic scripts to solve some problems.
Cannot display website content in a static way. But this loses the friendliness to search engines. How to find a middle method between the two, which gave rise to pseudo-static technology. Pseudo-static technology means that the displayed page is in the form of a static page such as HTML, but it is actually processed by a dynamic script such as ASP.
Difference between static (Recommended learning: web front-end video tutorial)
From the URL structure and page name, pseudo Static and static pages are the same. The suffix of the pseudo-static page can be html htm or directory format
Pseudo-static only changes the expression form of the URL, but it is actually a dynamic page
Static pages can save server resources, while pseudo-static pages strictly speaking increase server resource consumption
Summary: In terms of SEO, the functions of pseudo-static and static pages are the same Yes, but pseudo-static is essentially a dynamic page, so the resource consumption is the same as that of a dynamic page, and the Rewrite server also needs to consume additional resources.
How to choose
1. There is no difference between using true static and pseudo-static for SEO
2. Using true static may cause hard disk Damage and will affect site performance (this is really a fallacy, non-static reads from the hard disk are better than true static)
3. Using pseudo-static will occupy a certain amount of CPU occupancy, and heavy use will cause CPU overload
4. The most important point is that we need to be static for SEO
5. The access speed of true static is obviously higher than that of pseudo-static
So:
1. Using the true static method can be directly eliminated, because no matter how it is generated, it will be very harmful to the hard disk. (This is completely nonsense. True static can improve the performance of the website, reduce the access pressure on the database, and reduce the pressure on the CPU and memory.)
2. Since the effect of true and false static is the same, we can choose Pseudo-static.
3. However, extensive use of pseudo-static will cause CPU overload.
4. So as long as we don’t use it in large quantities, it’s fine.
5. Since pseudo-static is only for search engine crawlers to see, we only need pseudo-static for search engine crawlers to see, and there is no need for users to use it.
6. So we only need to use pseudo-static in the Archiver specially provided for search engine crawlers (search engine robots).
The above is the detailed content of The difference between pseudo-static and static. For more information, please follow other related articles on the PHP Chinese website!