Which of the following is a suitable solution for pseudo-static and real-static websites? The third page is better for your website.

Source: Internet
Author: User

1. Use of pseudo-static
Some users think that the amount of pseudo-static and real-static files actually indexed is quite different. Otherwise, from your personal perspective, do you determine whether a post is real static or pseudo-static?

It is hard to see, because the so-called static means that the address does not contain question marks, but static means. Is it true or false? Can the search engine see it?

Therefore, whether it is true or false, it is the same for the search engine. The search engine did not say that you are false. I will not include you.

Why does the search engine not include websites with question marks? Because the search engine is afraid of entering an endless loop due to question marks (in the past, there was such a vulnerability on the mobile network, and the spider went in and crashed), the address with question marks won't be included in many times, pseudo-static is actually static for search engines. Because there is no question mark in the address, there is no real static statement much more than pseudo-static statement.

2. Why do I select pseudo-static
Many users say: Is it really static? Why not use static data? Isn't access faster? Isn't the load better? Wait... here, we only use one question to answer: Why MySQL. many users may not understand why MySQL databases have been used as a storage mechanism in many large forums. Most of them all think about it: "Because DZ uses MySQL, It is MySQL ". in fact, why did DZ go on so many forums?ProgramThe reason why DZ uses MySQL is that the program changed by Big C was a text Forum. Will there be a DZ today? Or from another perspective, why do so many large websites choose MySQL instead of text as the storage mechanism? The so-called text forum is similar to the real static statement. It stores data in space, reads and writes a large number of hard disks, and so on... why is this writing method obsolete? I believe the answer is not what the teacher said:
"Discuz.net currently has 2129867 posts. If HTML is stored, the size is about 20799 MB, that is, about 20 GB. This does not calculate the space waste caused by the disk storage mechanism (the space occupied by 100 1 K files may be 200 K ). "

From my personal point of view, this reason cannot give users a sufficient reason not to use static data.
However, another reason is worth thinking about, that is why most sites do not choose to generate static data: "deleting and updating these HTML content will lead to a large number of disk Io operations and a large number of disk fragments."

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.