caching
Diagnose Stale Data and Plan Cache Policies
Conflicting cache policies can delay updates and expose personalized content through shared caches. This skill guides HTTP freshness, revalidation, and invalidation decisions across cache layers.
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "caching" from https://skillstore.io/skills/shreyam1008-caching.md and its manifest at https://skillstore.io/api/skills/shreyam1008-caching/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「caching」。 Our content-hashed JavaScript files change URLs on every release. How should we cache them?
預期結果:
- Use a one-year freshness window and immutable caching for content-hashed assets.
- Serve each changed asset under a new URL.
- Keep HTML freshness short or require revalidation so clients receive updated asset references.
正在使用「caching」。 Users still see old HTML after deployment. Which cache should we check?
預期結果:
- Inspect Cache-Control, ETag, Age, and CDN cache-hit headers on the HTML response.
- Check whether a service worker returns an older Cache Storage entry.
- Identify the stale layer before applying a CDN purge or service worker cache update.
正在使用「caching」。 Can we use the same shared cache policy for a public catalog and account details?
預期結果:
- Allow shared caching only for public, non-personalized catalog responses within acceptable freshness limits.
- Use private caching for suitable personalized responses and no-store for sensitive data.
- Apply explicit service worker exclusions and account cleanup because Cache Storage does not enforce HTTP no-store.
安全審計
安全All 21 static findings are false positives: Markdown formatting, documentation links, and a conceptual cache description do not establish execution or reconnaissance. The skill provides caching guidance and explicitly addresses sensitive data, shared caches, and service worker exclusions. No evidence found of prompt injection, credential exfiltration, or other intent-level security threats.
風險因素
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/shreyam1008-caching/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/shreyam1008-caching?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/shreyam1008-caching?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/shreyam1008-caching/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/shreyam1008-caching.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
shreyam1008. (2026). caching security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/shreyam1008-caching/audits/1BibTeX 引用
@techreport{shreyam1008-shreyam1008-caching-2026,
author = {shreyam1008},
title = {caching security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/shreyam1008-caching/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "caching security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "shreyam1008"
date-released: "2026-10-02"
url: "https://skillstore.io/skills/shreyam1008-caching/audits/1"
identifiers:
- type: other
value: "skillstore:shreyam1008-caching:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 中你可以打造什麼
Resolve stale releases
Investigate stale HTML and asset references across browser, service worker, and CDN caches after a deployment.
Protect personalized API responses
Separate public data from personalized or sensitive responses and choose appropriate cache storage and revalidation policies.
Plan CDN freshness and invalidation
Define shared-cache freshness windows and compare content versioning with purge strategies for deployment and data updates.
試試這些提示
Explain max-age, s-maxage, no-cache, and no-store for my [resource type]. Recommend a policy based on [freshness requirement] and [data sensitivity].
Review cache policies for [hashed assets], [HTML], and [API responses]. Use [current headers] to identify freshness, revalidation, and privacy issues.
Diagnose stale content after [deployment or mutation]. Use [response headers], [service worker behavior], and [CDN observations] to prioritize checks for each cache layer.
Design caching for [application] with [freshness limits] and [account boundaries]. Address hashed URLs, CDN invalidation, conditional requests, and service worker exclusions.
最佳實務
- Classify resources by URL stability, acceptable staleness, and data sensitivity before choosing cache directives.
- Use content-hashed asset URLs and keep HTML fresh enough to discover new versions.
- Inspect every relevant cache layer and explicitly exclude sensitive data from service worker storage.
避免
- Applying public shared-cache policies to personalized or sensitive responses.
- Treating no-cache as a prohibition on storage or assuming Cache Storage enforces no-store.
- Using immutable caching for changing resources whose URLs remain unchanged.
常見問題
Which AI tools support this skill?
Does this skill configure my CDN automatically?
What is the difference between no-cache and no-store?
When should I use immutable caching?
Does HTTP no-store prevent service worker Cache Storage entries?
Does this skill include complete TanStack Query or service worker workflows?
開發者詳細資訊
作者
shreyam1008授權
MIT
Skillstore 修訂
r1
版本提示
作者未聲明版本。
引用
bbec03cf10354f3aaccd6dd24eda4ac9ceeceac5
維護新鮮度
2026/10/2
使用量
0 次下載 · 0 次瀏覽
檔案結構
📄 SKILL.md