1. when a record is added to the background, the target html page is directly generated, and the frontend calls the connection to directly point to the generated html page. this method has the highest program efficiency. Server load is light,
1. when a record is added to the background, the target html page is directly generated, and the frontend calls the connection to directly point to the generated html page. this method has the highest program efficiency.
Server load is light, but because the generated page is a pure static page, once the page style (Template and css = theme) is changed, all content pages must be regenerated.
In actual use, there are not many applications. Most of them are using js, ssi, xml/xsl and other client methods. the generated static files only store data and do not involve styles. This balances the speed and maintainability, however, it is more complex than the front-and back-end programs. because the content of this method is purely static, it can be used together with a separately compiled pure static apache .. Higher efficiency and resource usage than dynamic content support)
Supplement:
A. to regenerate all the content pages of the modified style mentioned above, you can embed