Skip to content

Commit 13ec255

Browse files
committed
Start readme
1 parent 385c974 commit 13ec255

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
11
# Cache Tag
2+
3+
Cloudflare has the ability to index cached resources by _tag_ which allows those resources be
4+
[purged by tag](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-tags/). However, this feature is
5+
[only available for Enterprise customers](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-tags/#:~:text=Note%20that%20Tag%2C%20Hostname%20and%20Prefix%20purges%20are%20only%20available%20for%20Enterprise%20customers.).
6+
7+
Despite this limitation, an index can be built using [Workers](https://developers.cloudflare.com/workers/),
8+
[D1](https://developers.cloudflare.com/d1/), and [Queues](https://developers.cloudflare.com/queues/).
9+
10+
## Architecture
11+
12+
<picture>
13+
<source media="(prefers-color-scheme: dark)" srcset="./cache-tag-dark.svg">
14+
<source media="(prefers-color-scheme: light)" srcset="./cache-tag-light.svg">
15+
<img alt="Architecture Diagram" src="./cache-tag-light.svg">
16+
</picture>

cache-tag-dark.svg

Lines changed: 13 additions & 0 deletions
Loading

cache-tag-light.svg

Lines changed: 13 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)