- Home
- Skills
- Agents & Orchestration
- Repair HTTP Cache Vary Key Bugs
Works with the AI tools you already use
Repair HTTP Cache Vary Key Bugs
Repair HTTP cache key bugs around Vary that serve compressed, localized, authenticated, or tenant-specific responses to the wrong request variant.
$8.99
Repair HTTP Cache Vary Key Bugs
Example session with this skill installed
Repair our Node response cache: the store path includes Accept-Encoding after reading Vary, but lookup uses only URL, so identity clients sometimes receive gzip bytes. Build a fake origin and deterministic tests. Preserve TTL, eviction, revalidation, authorization, and response headers.
- Read your context and instructions
- Compiled the repair http cache
Variant-index defect found. The cache stores representations under a Vary-aware key but performs initial lookup through a URL-only alias that can point at the last stored encoding. The repair introduces one canonical variant index, normalizes only declared Vary headers, keeps TTL/eviction/revalidation policy unchanged, and verifies gzip, identity, locale, authorization, and 304 paths with a fake origin.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
HTTP caches often serve incorrect variants when lookup and store keys disagree or when the Vary header is processed inconsistently. This leads to leaking authenticated content across sessions, serving compressed bytes to legacy clients, or 304 revalidations updating the wrong representation.
What it does
- Identifies discrepancies between cache lookup and storage paths in repository code.
- Normalizes request-header selection for
Accept-Encoding,Locale, andAuthorization. - Aligns variant indexing to ensure the cache reconciles
Varyheaders learned after the origin response. - Repairs repository-level cache-key construction and tenant boundaries.
- Generates deterministic local test fixtures to verify cache hits and misses across headers.
Frameworks & tools
Works with repository-level code for CDNs, application-level cache adapters, and proxy configurations. Requires access to Read, Edit, and Bash tools.
Why this beats prompting it yourself
Generic prompts often suggest simple TTL changes or cache clearing which mask the underlying logic error. This skill enforces a strict resource register and failure timeline analysis to fix the architectural disagreement between how keys are generated and how variants are stored.
Use cases
- Fixing localized content leaks where one user sees another's language or tenant data.
- Repairing broken 304 Not Modified flows that refresh the wrong cached representation.
- Ensuring identity-encoded clients never receive Gzip or Brotli payloads.
- Standardizing cache key normalization across multi-layer CDN and app architectures.
Known limitations
Does not modify TTL, eviction policies, or origin response headers. Cannot access production environments, live secrets, or deployed state; it is limited to repository-level repairs.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install