缓存策略 / PWA-缓存策略 / PWA Service / PWA 缓 / cache-first / / stale 陈。用户提到这些词时使用本技能。 场景:对照:PWA Service Worker——缓存策略(缓存优先/网络优先/陈旧再验证)。 【不适用】Not for 以下场景:strategy 非 {cache-first, network-first} 时
Install
npx skillscat add furongjun-1999/commontrustprotocol/browser-cf9f812e Install via the SkillsCat registry.
SKILL.md
PWA-缓存策略(browser-cf9f812e)
When to use
任务「缓存策略」;对照:PWA Service Worker——缓存策略(缓存优先/网络优先/陈旧再验证)。
克制条款(不适用条件)
strategy 非 {cache-first, network-first} 时
How to execute
按 op 分派
Verification
- 单元样例 5 条(cases 断言)
- 物理基底:按 calibration 对照(编译/运行/断言裁决)
References
- 单元库:compiler_code_units.py「PWA-缓存策略」