On static dynamic and pseudo-static of web site

Source: Internet
Author: User

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

This article simply said that the web address static, pseudo static and dynamic form of the basic knowledge, novice can be properly understood, the master skipped.

Let's talk about static web addresses.

Pure static web pages generally to. html or HTM end, the page address is a file, the file is actually in a directory of Web server, when visitors visit the page, do not read the database, direct access to the site space corresponding files. This way, search engine friendly, is the most easily indexed by search engines. At the same time, because of access to the Web page, do not need the server to do too much processing, the minimum pressure on the server, so it is easier to deal with high traffic. Some attacks against the database, such as SQL injection attacks, in the face of static web pages often difficult to start from the address. Because a static web page needs to generate a file, so when the site content update frequency high, update the volume of data, the server disk writes will also be very frequent, when not using other technology, if the template changed, all the relevant HTML page will be regenerated, this in the face of large data volume, It's not a fun thing to do. Of course, some server technology can be used to do the corresponding processing, here is not introduced.

Then the Dynamic Web page

General address with? are dynamic Web pages, when accessing dynamic Web pages, the server needs to read the database, the database to make the corresponding processing, the data returned to the server, and then sent to the browser by the server, such a process, the need to consume a certain amount of server resources, in a large number of visits, will aggravate the burden of the server. In the past when the search engine technology is not developed, dynamic Web pages are generally not too good to include, with the improvement of search engine technology, now the Dynamic Web page has been difficult not to fall the spider, but compared with the static Web page, or not as static Web pages easily included. Dynamic Web pages because of the need to generate HTML files, so you can save the server space, so we can put more money on the database, save the server space can be used to put more pictures attached files.

Finally, a simple pseudo static

In these three forms of processing, the individual prefers the pseudo static form. Pseudo-Static is essentially dynamic, in the process of data processing and dynamic. In the form of the Web site, pseudo static address and static can be a touch, ordinary visitors are not easy to distinguish is true static or pseudo static, at the same time the spider will also be this form of the web as a static to deal with. Pseudo-static relatively dynamic, the more consumption of server resources, because the Web page address needs to be set in advance pseudo-static rules for a regular match, this process is consuming resources. This form is more than a dynamic URL with a matching filtering process.

Make a summary of the above: the friendliness of the search engine: pure static better than pseudo static better than dynamic; server CPU resources consumption: pure static less than dynamic less than pseudo static, the occupation of server space: pure static is greater than pseudo static, pseudo static and dynamic same. The specific choice that form, may according to own actual situation. Small station http://www.51dayday.com/, reprint please keep the link.

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.