mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 19:04:15 +08:00
原「刷新」只重新请求前端数据(overview.refetch), 不动后端缓存, 跨天 残留时拿到的是旧数据。改为「重载」: - 新增 POST /api/data/refresh-cache 端点: clear_cache + refresh_cache 重建 enriched 内存缓存, 同时清 overview 聚合缓存 + screener TTL 缓存 - 看板按钮先调后端重建缓存, 再刷新看板数据 - 与设置页「清理并刷新」(清前端 react-query)互补, 这个重建后端 Polars 缓存