og:cache:epoch
INCR
/api/import/bypos
后台改了数据,前台最长 24 小时还显示旧内容。
cache
Bump(ctx) error
INCR og:cache:epoch
OPENGOODS_REDIS_URL
adminhandler
WithCache
来源:只读审查 main@36f9c95(2026-10-23)。
No dependencies set.
The note is not visible to the blocked user.
现状
og:cache:epoch分代,只有 Python 采集任务(seed_off、import_bypos、dedup)写完会INCR。/api/import/bypos)都不刷新。商品详情缓存 24 小时、搜索 1 小时。风险
后台改了数据,前台最长 24 小时还显示旧内容。
要求
cache包新增Bump(ctx) error(INCR og:cache:epoch,沿用 150ms 超时)。OPENGOODS_REDIS_URL创建 Cache,adminhandler增加WithCache。验收
来源:只读审查 main@36f9c95(2026-10-23)。