Add articles in the background, how to achieve static?

recently, I have encountered a lot of problems in static page, such as
1. In the background, add the article through ajax, and then call the method to achieve static, but will the entire page content respond back?

clipboard.png

2. After adding articles, how to update the static home page and article list page on Synchronize? Does it mean that every time you add an article or modify it, do other related pages have to be static again?

Php
Feb.28,2021

it is estimated that only one scheduled task can be set. After publishing the article, regularly generate the latest static file to overwrite the old one


if you use Larvel, you can use https://github.com/flc1125/la.

.
Menu