Enterprise Build station Choose dynamic or Static

Source: Internet
Author: User
Keywords Virtual host Enterprise website construction virtual host

For http://www.aliyun.com/zixun/aggregation/37401.html "> Enterprise website construction should choose dynamic or static problem, first you should understand what is static Web sites and dynamic sites."

Static and static state refers to the front end of the site, the background is certainly dynamic.

The so-called dynamic, in fact, is not generated content, directly invoke the content of the database.

Website Construction has more than 10 years of development history, is not the beginning of the pure static, the whole manual era, there are CMS, that is, content management system, whether it is ASP, PHP, ASP.net, Java type, so today we mainly discuss the front-end, the site dynamic static selection problem.

Because static web sites are called directly backstage, so the general background update, the first time you can see the content, do not have to generate every time, to facilitate the maintenance of management personnel, and now has not been the beginning of the so-called Dynamic Web site crawling inconvenience problem, so can be assured to use, but need to pay attention to the content does not exist when 404 errors In the absence of a large number of the same title "content does not exist" 200 (normal) Web page, to bring trouble to the site optimization.

 

Dynamic, static, pseudo static three large data pk:

Consumption of server CPU resources: pure static less than dynamic less than pseudo static;

The friendliness of the search engine: pure static better than pseudo static better than dynamic;

Occupation of server space: pure static is greater than pseudo static, pseudo static and dynamic same.

Personal suggestion: If the page article part directory is too deep, it is best to do pseudo static processing.

Static and dynamic pages have their own characteristics, the website uses the dynamic webpage or the static webpage mainly depends on the website function demand and the website content how many, if the website function is relatively simple, the content update quantity is not very big, uses the pure static webpage the way to be simpler, conversely generally uses the dynamic webpage technology to realize.

Static web is the foundation of Web site construction, static and dynamic Web pages are not contradictory, in order to adapt to the search engine retrieval needs, even if the use of Dynamic Web site technology, can also be translated into static Web page content release.

Dynamic website can also adopt the principle of static and dynamic combination, suitable for dynamic Web pages using Dynamic Web pages, if necessary to use static Web pages, you can consider the method of static Web pages to achieve, the same site, dynamic Web content and static Web content at the same time is also very common things.

Finally, one of the most commonly used methods is pseudo static. 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, more consumption of server resources, because the Web page address needs to be set in advance pseudo-static rules for the regular match, this process is consuming resources, so generally use caching to solve. This form is more than a dynamic URL with a matching filtering process.

For what site can generate static Web site or dynamic site or pseudo static site problems, mainly to see your virtual host spending does not support. So before buying space, it is best to consult the service provider, or ask them to give a free virtual host trial, to see the effect. Try the time if you do not have the record number is not to try the domestic virtual host. Hong Kong virtual host is recommended.

Hong Kong virtual Host: HTTP://WWW.IISP.COM/VHOST/HONGKONG_HOSTING.PHP?S=ASDX

Related Article

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.