Apple cms generation Home What is the role?

First generation generally refers to generate static html page to generate static pages facilitates rapid access to Baidu reptiles included and users, saving server response time, etc., more static pages, then take up space, but the simplest way to create several pages basically negligible. The specific role can be divided into the following points.

First, to enhance access speed

  1, greatly reducing the consumption of database resources

  Ordinary dynamic pages during each visit each user, the data will be immediately read the database and then displayed to visitors, read the database is a database program consumes CPU resources and work, when there will be a large amount of access access delay phenomenon. The data is static HTML pages through the program, users will need to write-once read an HTML file which, when a user visits, it has no need to read the database directly see the data, which greatly reduce the the burden of the server and database to improve the access speed.

  2, reduce the burden on the server, making the site faster access and stable

  ASP page because the ordinary connotation scripting language, so when users access through a browser, the server needs to interpret the scripting language page, convert the script to display content and then presented to the user. The HTML page through the program, the one-time ASP scripting language to write and interpret complete web browser to directly identify the file,

  Second, more secure

  The main objective of the network is to attack the site database, and static page after treatment, you do not need to connect to the database when a user accesses the site, which cut off the connection between the attacker and the database, so that no attack has become a target. In theory a full station static sites, there is no loophole can attack.

  Third, more likely to be searched

  The world's major search engines such as Baidu, Google and so on HTML pages crawled and indexed pages more dynamic than the more comprehensive and timely use of static HTML pages greatly increase the chances of the site being searched. So you have more opportunities to show themselves.

      Disclaimer: In addition to the special statement by the site of the original document, please indicate the source, the original address: Apple cms generation Home What is the role?

发布了92 篇原创文章 · 获赞 11 · 访问量 2万+

Guess you like

Origin blog.csdn.net/wanyizhilu/article/details/104615426