cloudflare · Cloudflare Workers Docs
Examples Cache Tags using Workers
Demonstrates how to implement custom cache tags within a Cloudflare Worker to enable granular cache invalidation.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Examples Cache Tags using Workers
Demonstrates how to implement custom cache tags within a Cloudflare Worker to enable granular cache invalidation.
When To Use
Use when you need to implement a mechanism for purging specific groups of cached content via custom tags in a Cloudflare Workers environment.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-examples-cache-tags-using-workflow-guide.md | A markdown document providing implementation examples for using cache tags within Cloudflare Workers. | Questions about a markdown document providing implementation examples for using cache tags within Cloudflare Workers. |
examples/workers-examples-cache-tags-using-cloudflare-workers-cache-tags.text | A JavaScript worker script demonstrating how to implement and utilize cache tags within the Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in A JavaScript worker script demonstrating how to implement and utilize cache tags within the Cloudflare Workers enviro... |
examples/workers-examples-cache-tags-using-cloudflare-workers-cache-tags-2.text | A JavaScript worker script demonstrating how to implement and utilize cache tags within the Cloudflare Workers environment. | Exact payloads, commands, or snippets shown in A JavaScript worker script demonstrating how to implement and utilize cache tags within the Cloudflare Workers enviro... |
examples/workers-examples-cache-tags-using-cloudflare-workers-hono-cache-tags.text | A Hono application implementation for Cloudflare Workers that demonstrates how to apply cache tags to outgoing fetch requests. | Exact payloads, commands, or snippets shown in A Hono application implementation for Cloudflare Workers that demonstrates how to apply cache tags to outgoing fetch... |
examples/workers-examples-cache-tags-using-cloudflare-workers-cache-tags-python.text | A Python implementation of a Cloudflare Worker that demonstrates how to use cache tags to manage cache invalidation. | Exact payloads, commands, or snippets shown in A Python implementation of a Cloudflare Worker that demonstrates how to use cache tags to manage cache invalidation. |
What This Skill Covers
- If you want to get started quickly, click on the button below.
- Main sections:
Tags.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/examples/cache-tags
