diff --git a/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/清单缓存只在开发模式开启.md b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/清单缓存只在开发模式开启.md new file mode 100644 index 0000000..eaa1d84 --- /dev/null +++ b/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/清单缓存只在开发模式开启.md @@ -0,0 +1,20 @@ +--- +title: 清单缓存只在开发模式开启 +type: rule +permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/清单缓存只在开发模式开启 +stable_id: a3e30911-0125-4574-84ac-c27c85e22c50 +scope: project +memory_type: rule +project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be +usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998 +status: active +revision: 1 +request_id: rule-catalog-cache-dev-only-20261024 +created_at: '2026-10-23T17:48:31.542273+00:00' +updated_at: '2026-10-23T17:48:31.542273+00:00' +tags: +- catalog +- cache +--- + +剧目清单缓存只在开发模式开启。Tauri debug_assertions 把 RAPTD_CATALOG_CACHE 设为 1,正式打包设为 0。覆盖 RaptDrama、黄豆、DramaBox 的分类剧目清单。手动刷新会删掉当前缓存并重新请求。封面始终优先走本地缓存。不要把开发模式的清单缓存去掉。 \ No newline at end of file