打开织梦模板根目录index.php文件
找到
if(isset($_GET['upcache']) || !file_exists('index.html'))
改成
if(isset($_GET['upcache']))
图

宝塔用户可以使用计划任务来生成

任务类型:URL地址
执行周期:根据自己需求时间去设置
URL 地址:http://你的域名/index.php?upcache=1
虚拟主机或者其他可以使用触发宝来生成

