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.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ead5ef-214b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ead5ef-214b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?