A little experience about pseudo-static and true-static

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

1. The use of pseudo-static

Some users feel that the pseudo static and true static actual content will vary greatly, but in fact, from your personal point of view, you judge a post in the end is really static or pseudo static?

Estimates are very ugly, because the so-called static meaning, is the address without a question mark, without a question mark is static, whether he is true or false? Search engine can see?

So, in fact, whether true or false, in fact, for search engines are the same, search engine did not say, you this is false, I do not include you.

Root dug bottom, why search engine will not include the URL with question mark? Because the search engine is afraid because of the question mark to enter the dead loop (before moving the net has such a loophole, spiders go out of the way), so very often with the address of the question mark will not go in, pseudo static for the search engine, in fact, is static, Because the address does not have a question mark, so there is no real static than pseudo static more than the argument.

2. Why choose Pseudo static

There are very many users who say:

It's really static, isn't it?

Why not really static?

Isn't it quicker to visit?

Isn't the load better?

Wait a minute ...

Here, in fact, only one question to answer: why the choice of MySQL.

Very many users probably do not understand why so many large forums have chosen the MySQL database as a storage mechanism, probably most are thinking: "Because DZ used MySQL, so is MySQL."

In fact, imagine why DZ in so many forum programs coexist in the day to survive and laugh, very big reason is because DZ used MySQL. Imagine if the big C changed the program is a text forum, that will have dz today?

Or from another point of view, why do so many large Web sites have chosen MySQL instead of text as a storage mechanism?

The so-called text forum, actually with the true static say almost, the data stored in space, a lot of read and write hard disk, etc. ...

Why is this writing eliminated?

I believe the answer is not what the teacher said:

"Discuz.net currently has 2,129,867 posts, which are stored in HTML about 20799 M, or around 20G. This does not calculate the amount of space wasted by disk storage (100 1k of files may be 200K). "

From my point of view, this argument does not give the user the reason not to use true static.

However, another reason is worth our attention and why most of the stations do not choose to generate static:

"Removing and updating these HTML content can result in a lot of disk IO operations and a large amount of disk fragmentation."

As mentioned above, in practice it does cause a lot of disk I/O operations (input,output), the consequences of a large number of I/O operations can be imagined, resulting in a large number of disk fragmentation and even cause the hard drive to appear bad.

So for the generation of static, it would be better to use a text forum, can be more to solve your needs.

(Vice W is to do the text forum was born, when the name for Ofstar Http://www.sh012.com, after the development of the difficulties into MySQL, and PW generated static page is PW previous text way slightly improved to attract users eyeball of the pout)

Of course, if everyone has a good memory, should be able to remember when the PW4 PW Forum can not visit for a very long time, and then recovered to a period of time before the data, the official saying is that people attack the hard disk damage, in fact, this argument is relatively unreliable, relative to be attacked resulting in hard disk damage or a large number of i/ o The consequences of the operation, I personally prefer the latter.

Of course, if you are more concerned about 5d6d, you should know that a few days before a day 5d6d inaccessible, according to unofficial news because the hard drive is broken, and the cause of the damage I think of course because a large number of users I/O operations, imagine, we a forum, to disk i/ O operation only for administrators to update the cache, and 5d6d each member is an administrator, imagine the disk is how much test? So I'm not surprised 5D6D's hard drive is broken.

Of course, perhaps in reading this article a lot of friends have used BT, also heard that BT on the hard disk is very hurt, can not open more, and the so-called damage, and here refers to the same thing, a large number of I/O caused disk fragmentation even disk bad.

Here are some very practical examples to illustrate the problem.

3. About the disadvantages of pseudo static

Of course, as the author of an article says.

"If the traffic is slightly larger using pseudo static on the CPU overload, I have more than 300 people online at the same time without the use of pseudo static when the online Super 500 people do not hang, my ISS number is 1000"

It is true that, because the pseudo static is to use the regular judgement rather than the real address, to identify which page is the responsibility of the direct designated by the CPU to judge, so the increase in CPU occupancy, is indeed the biggest fault of pseudo static.

4. What do we do?

Let's summarize.

1. Use True static and false static for SEO no difference

2. Using true static may cause hard disk damage and will affect forum performance

3. Use pseudo static will occupy a certain amount of CPU share, heavy use will cause CPU overload

4. The most important point we want to static is to SEO

So.

1. The use of true static method can be directly excluded, because no matter how the generation, the hard disk is very hurt.

2. Since the authenticity of the static effect of the same, we can choose pseudo static.

3. However, pseudo static mass use can be taken as CPU overload.

4. So we can just do it without a lot of use.

5. Since static is just for SEO to see, we only need pseudo static to SEO on the line, do not have to use to users.

6. So we can only use pseudo static in the archiver which is specially provided to the SEO to crawl.

7. Thank you for your patience in reading my article.

8. There is no room for confusion or different views welcome.

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.