1, the speed of access is relatively faster than dynamic Web pages.
In the same amount of data, static Web pages download faster than dynamic Web pages. This is a very friendly performance for both users and search engine robots. Especially your site traffic is very large, the amount of data is also very large, then the download speed of the Web page for your site is very important.
2, the Web page's controllable enhancement, the webpage similarity degree reduces.
In the process of static Web pages, this function is generally designed. is to manually enter the name of the static Web page you want to generate. This is useful for search optimization. For example, when I do Webceo download, the selected file name is: Webceo-download. Search for "Webceo downloads" in Google ranked third. You can look and see, in the first three places in the search results, there are webceo in the URL, and Google makes it bold. It is obvious that Google still has to consider this point. and dynamic Web pages in the case of unhandled, its file name will generally be such "download.aspx?id=123." Such a filename would certainly not have the previous filename well.
Similarly, for HTML tags such as title, keyword, and description, we can also make them available for manual control. By increasing the control of these page elements, we can reduce the similarity of Web pages, and search engines will also include more pages. Static Web page does have a certain advantage, but after practice, I also found that it is not to say that the static Web page is absolutely good. But I also want to remind you here, whether the implementation of the Web page static depends on the specific circumstances. If the application is not appropriate, not only to achieve the effect of optimization, but also can cause you a lot of trouble.
1, the generation of static Web pages will increase the burden of server space.
Some people estimate this: the content of an article will probably occupy 5k-10k, while the other code will account for 2/5-4/5, a file will probably increase about 15K, for 300,000 of the article database, need to increase the use of 3.6G of hard disk space. Although the current hard disk capacity is increasing, but when the amount of data on the site to a certain degree, we have to consider this factor.
2, a large number of static Web pages to increase maintenance workload.
The renewal of the website is unavoidable. You can think of a 10,000-page Web site (not particularly many) to add content to each page, which would be a very troublesome thing. Of course you may say that I write a little bit better, the update will be very convenient. The author admits that writing high quality and efficient programs can reduce this amount of work. But there's no way to solve the problem of a lot of documents.
For example, many static Web sites will have a batch update function. That is, batch generation of static Web pages. In fact, this kind of function design is very good, but in the actual use will appear some problems. I encountered the biggest problem is due to a variety of hardware and software reasons, in tens of thousands of web page files, there is always a very small number of files did not generate success, and, worse still, some did not generate a successful file can not be recorded. This is like a "time bomb", it will "explode" one day. It is always will be users or spiders find, and then found: Yi, this page is what?
3, the generated static Web page consumes server resources.
There are a lot of developers who will generate static Web pages that function with threads. This can consume server resources when the number of files is large.
4, static Web pages to read Dynamic Data.
You may have found that many of the generated static pages can be read to the latest dynamics of the system. Like the latest news about the system. This is actually a static web page to achieve dynamic reading of data function. This is technically achievable, and there are many ways to implement it. But when you design a website, you have to consider this.