perf: website_sync 批量查询 + custom_pages origin TTL 缓存

This commit is contained in:
SmartUp Developer
2026-05-25 00:19:14 +08:00
parent 4971263a3a
commit 42d8731ff7
3 changed files with 60 additions and 5 deletions
+5
View File
@@ -76,6 +76,11 @@ npm run dev # 代理到 localhost:8000
SQLite 数据库位于 `./data/app.db`,直接复制即可备份:
> **WAL 模式说明**:启用 WAL 后,备份前请先执行 checkpoint 将 WAL 合并入主库:
> ```bash
> sqlite3 ./data/app.db "PRAGMA wal_checkpoint(TRUNCATE);"
> ```
```bash
cp ./data/app.db ./data/app.db.$(date +%Y%m%d)
```