Solution to the application range of FSO Static Generation Technology

zhaozj2021-02-12  188

Since FSO technology appears, we can still generate a web page. You can generate a suffix "htm, html ..." can also be generated

".asp" webpage. In fact, as long as it is static generation, even if the generated file name suffix is ​​".asp" file, it should also

This understanding is static generation because it does not need to read the database after all read.

Advantages and disadvantages of static generation:

Advantages of static generation: Do not read the database when reading the generated page, so that the website is very large

This advantage is not available. Therefore, there are also the unification of domestic (international) large news sites.

It is a static generation, and they are also the reason for consideration. Perhaps some friends can propose to improve the server

The frequency and quantity of CUP, optimize the database structure, change the database type to solve this problem, but for access

Sites excessively, it is a good host, with dynamics, databases can't stand. At the same time, build the interface

The fullness is high, but this is just a secondary reason.

Disadvantages of static generation: management is relatively inconvenient. Because after all, a lot of HTML (or other) documents have been produced.

Once the HTML page is generated, it is static, and does not change as the ASP program changes, if change

Style or content needs to be regenerated, (batch generation function, using two less time automatically generated in one

Make up this deficiency

Static generation range:

The larger the amount of access / update, the more suitable for static generation. This is why large news systems use static

Many, and the large-scale forum uses a small reason (of course, some forums use static generation, more common

The map forum, the browsing rate / update amount is larger.). For personal websites, using dynamic systems can be complete, because

For less visits, the dynamic management is convenient.

Note: Sometimes, the article system needs to set the authority, so it seems that the static cannot be realized, it is not the case, finished

You can still generate ASP files in static, then this feature is implemented by controlling cookies, or moving via HTML

ASP files to get permissions, still do not need to call the database when reading.

The above is my point of view I am still generated by FSO, I am not mature, I hope everyone will advise.

转载请注明原文地址:https://www.9cbs.com/read-6216.html

New Post(0)