返回 Skill 列表
extension
分类: 开发与工程无需 API Key

openwebf-host-caching-httpcachemode

使用HttpCacheMode(陈旧内容、离线优先、缓存破坏、使用WebF.clearAllCaches清除缓存)在Flutter中配置和调试WebF运行时缓存。当用户提到HttpCacheMode、WebF.clearAllCaches、离线优先、远程包陈旧或缓存适配器行为时使用。

person作者: jakexiaohubgithub

OpenWebF Host: Caching (HttpCacheMode)

Instructions

  1. Ask what the user wants: cache-first, network-first, offline-first, or “never cache in dev”.
  2. Use project profile and code search to detect current cache settings.
  3. Use MCP docs to choose an explicit HttpCacheMode and a cache-busting/version strategy.
  4. Provide clear “how to clear caches” guidance and verification steps.

More: