Skip to main content

verify-link-prefetching

Verify that link prefetching improves navigation without triggering unsafe actions, excess transfer, cache errors, or privacy leaks. Use when a web framework or browser preloads likely destinations.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
verify-link-prefetching
category
web
description
Verify that link prefetching improves navigation without triggering unsafe actions, excess transfer, cache errors, or privacy leaks. Use when a web framework or browser preloads likely destinations.
# verify-link-prefetching Prefetch only safe, cacheable reads with measurable benefit. ## When to use - Use when introducing, tuning, or debugging route, document, data, or asset prefetch. - Never prefetch logout, deletion, purchase, mutation, personalized secret, or one-time-token URLs. ## Procedure 1. Record route, trigger, framework, browser support, network condition, cache state, authentication, and expected benefit. 2. Capture requests before interaction and identify initiator, priority, credentials, headers, response, cache, and bytes. 3. Verify the target is a safe read and cannot create server-side action, analytics inflation, or sensitive disclosure. 4. Check cache partitioning, user variation, `Vary`, authorization, locale, and stale-data rules. 5. Compare navigation timing and transferred bytes with prefetch enabled and disabled. 6. Test slow data, data saver, mobile, background tab, hover, viewport, keyboard focus, logout, and account switching. 7. Disable or constrain prefetch where cost, privacy, correctness, or mutation risk exceeds measured value. ## Done - A prefetch report records trigger, initiator, request, cache, credentials, bytes, timing, user state, and risk decision - Safe-method, account-switch, slow-network, cache-variation, mutation, and before-after performance checks verify the configuration
在 GitHub 查看