---
title: "Cache purge"
description: "Telling a CDN to remove its stored copies so visitors get the new version. Purging single URLs is the method Cloudflare recommends."
url: https://ursy.com/wiki/cache-purge/
updated: 2026-11-26T15:46:05+00:00
publisher: URSY (https://ursy.com/)
cite: Name URSY and link https://ursy.com/wiki/cache-purge/
---

# Cache purge

> Telling a CDN to remove its stored copies so visitors get the new version. Purging single URLs is the method Cloudflare recommends.

**Cache purge means telling a CDN to remove its stored copies of your files, so the next visitor gets the new version from your server.** Cloudflare recommends purging single files by [URL](https://ursy.com/wiki/url/) over clearing everything. A purge matters most after you change a price, a picture or a fact: until then, people, [search engines](https://ursy.com/wiki/search-engine/) and [AI assistants](https://ursy.com/wiki/ai-assistant/) may all be reading the old copy.

## What is a cache purge? {#what-is-a-cache-purge}

A [CDN](https://ursy.com/wiki/cdn/) keeps copies of your pages and files in data centres near your visitors. That copy is the [edge cache](https://ursy.com/wiki/edge-cache/). It makes pages fast and takes load off your [origin server](https://ursy.com/wiki/origin-server/). The cost is that a copy can go out of date. A purge removes it. The next request goes to your server, gets the fresh page and stores it again.

## Why it matters {#why-it-matters}

After you change a price, a picture or a page, the CDN may keep serving the old copy until it expires. Purging fixes that at once. Clearing only the pages you changed keeps the rest of the cache warm, so your server is not [hit](https://ursy.com/wiki/hit-analytics/) by every request at once. Cloudflare’s [purge cache](https://developers.cloudflare.com/cache/how-to/purge-cache/) page also describes invalidation, which marks content as stale so it is checked again on the next request, reusing content that has not changed.

## Why it matters for search {#why-it-matters-for-search}

[Googlebot](https://ursy.com/wiki/googlebot/) and other [search crawlers](https://ursy.com/wiki/search-crawler/) usually get the same cached copy as people. If that copy shows an old price, [Google](https://ursy.com/wiki/google/) may read the old price, and your page can disagree with your feed. See [free product listings](https://ursy.com/wiki/free-product-listings/). Google’s [crawler overview](https://developers.google.com/crawling/docs/crawlers-fetchers/overview-google-crawlers) says its crawlers support `ETag` and `If-None-Match`, recommends `ETag` over `Last-Modified`, and says other HTTP [caching](https://ursy.com/wiki/caching/) directives are not supported.

## Why it matters for AI answers {#why-it-matters-for-ai-answers}

[AI crawlers](https://ursy.com/wiki/ai-crawler/) collect pages in advance, and [live fetchers](https://ursy.com/wiki/live-fetcher/) open a page when a person asks. Both read whatever your edge serves. A stale copy at the moment of a fetch means an assistant may quote yesterday’s price or stock with confidence. That is not an [AI hallucination](https://ursy.com/wiki/ai-hallucination/): the AI read what you served. The same goes for your [llms.txt](https://ursy.com/wiki/llms-txt/), feeds and [JSON-LD](https://ursy.com/wiki/json-ld/) [product structured data](https://ursy.com/wiki/product-structured-data/): a CDN caches them too.

## The ways to purge {#the-ways-to-purge}

| Purge by | What it clears | Use it when |
| --- | --- | --- |
| URL (single file) | One address | You changed one page or image. Cloudflare’s recommended method. |
| Tag | Every file carrying a cache tag | One product appears on many pages |
| Prefix | Everything under a path, such as `/shop/` | You changed a whole section |
| [Hostname](https://ursy.com/wiki/hostname/) | Everything on one hostname | A [subdomain](https://ursy.com/wiki/subdomain/) changed throughout |
| Everything | The whole cache for the site | A site-wide design change; rarely otherwise |

Cloudflare says Free, Pro, Business and Enterprise plans all have these five methods, with different rate limits.

## How many purges can I send? {#how-many-purges-can-i-send}

| Plan | Single-file URLs | Hostname, tag, prefix and everything |
| --- | --- | --- |
| Free | 800 per second | 5 per minute |
| Pro | 1,500 per second | 5 per second |
| Business | 1,500 per second | 10 per second |
| Enterprise | 3,000 per second | 50 per second |

These are Cloudflare’s per-account limits on its purge cache page, checked 24 November 2026.

## How do cache tags work? {#how-do-cache-tags-work}

Your server adds a `Cache-Tag` response header, such as `Cache-Tag: helmet-123,helmets,sale`. Cloudflare’s [purge by tag](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-tags/) page says the dashboard purges up to 100 tags at a time, tags cannot contain spaces, an API purge tag can be up to 1,024 characters, and the whole header cannot exceed 16 KB. Visitors never see the `Cache-Tag` header.

## Reading the CF-Cache-Status header {#reading-the-cf-cache-status-header}

| Value | Cloudflare’s meaning |
| --- | --- |
| `HIT` | Found in Cloudflare’s cache |
| `MISS` | Could be cached, but was not in the cache at the time |
| `EXPIRED` | Found in the cache but expired, so served from your server |
| `STALE` | Served from the cache although it had expired |
| `UPDATING` | Expired, served from the cache while your server updates it in the background |
| `REVALIDATED` | Your server confirmed the cached copy was unchanged |
| `BYPASS` | Your server’s response turned out not to be cacheable |
| `DYNAMIC` | Not eligible for cache, so sent straight to your server |

Source: Cloudflare’s [cache responses](https://developers.cloudflare.com/cache/concepts/cache-responses/) page.

## A worked example {#a-worked-example}

A bike shop drops the price of a helmet from £45 to £39 and saves the product page. A customer still sees £45. The owner purges just that page by its URL, then requests it twice:

```
First request:  CF-Cache-Status: MISS
Second request: CF-Cache-Status: HIT
```

The `MISS` shows the old copy has gone and the new one was fetched from the server; the `HIT` shows the new copy is now cached. The helmet also appears on a category page and a sale page, so those two URLs need purging too, or they will show £45 until they expire. With a tag such as `helmet-123` on all three pages, one tag purge clears them together.

## How long should a copy live? {#how-long-should-a-copy-live}

Your server sets this with the `Cache-Control` header. MDN’s [Cache-Control reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control) explains the main directives: `max-age` is how long a response stays fresh, `s-maxage` is the same for shared caches such as a CDN, `no-cache` means it must be checked with the origin before each reuse, `no-store` means no cache should keep it, and `stale-while-revalidate` lets a cache reuse a stale copy while it checks for a new one.

## Common mistakes {#common-mistakes}

- Purging everything after every small edit. It empties the cache for every page and sends the next wave of traffic, [bots](https://ursy.com/wiki/bot-web-robot/) included, to your server. See [why your website is slow](https://ursy.com/wiki/why-your-website-is-slow/).
- Purging the product page but not the category, sale and home pages that show the same price.
- Forgetting files: images, sitemaps, feeds and llms.txt are cached too.
- Taking an HTTP 200 reply as proof. Cloudflare says a successful purge request does not confirm anything was removed.
- Caching pages that should never be shared, such as basket or account pages. Mark them `private` or `no-store`.
- Confusing the CDN cache with an [object cache](https://ursy.com/wiki/object-cache/) on your server. Purging one does not clear the other.

## How to check it {#how-to-check-it}

1. In Cloudflare, purge by URL, hostname, tag, prefix or everything. Start with the URL of each page you changed.
2. A successful purge returns HTTP 200, but Cloudflare says this does not confirm anything was removed. Request the page again and check the result.
3. Check the `CF-Cache-Status` header on the page with the [Edge Cache Checker](https://ursy.com/cache-checker/). It should no longer say `HIT` on the first request after a purge.
4. Read every header, including `Cache-Control`, `ETag` and the [status code](https://ursy.com/wiki/http-status-code/), with the [HTTP Header Checker](https://ursy.com/http-header-checker/). See [HTTP](https://ursy.com/wiki/http/).
5. Check that your sitemap’s update dates match real changes with the [Last-Modified Checker](https://ursy.com/lastmod-checker/), and the sitemap itself with the [XML Sitemap Checker](https://ursy.com/sitemap-checker/). See [XML sitemap](https://ursy.com/wiki/xml-sitemap/).
6. Tell search engines about the changed page with the [IndexNow Submit Tool](https://ursy.com/indexnow-tool/). [IndexNow](https://www.indexnow.org/) is a ping that a URL has been added, updated or deleted, supported by Microsoft [Bing](https://ursy.com/wiki/bing/), Naver, Seznam.cz, [Yandex](https://ursy.com/wiki/yandex/) and Yep. See [IndexNow](https://ursy.com/wiki/indexnow/).
7. Check the page, its schema, llms.txt and feeds now state the same price with the [AI Consistency Checker](https://ursy.com/ai-consistency-checker/), and the markup alone with the [Schema Markup Checker](https://ursy.com/schema-checker/).
8. If you serve clean .md copies for AI, purge those too, then check them with the [Markdown Version Checker](https://ursy.com/markdown-version-checker/) and your llms.txt with the [llms.txt Checker](https://ursy.com/llms-txt-checker/).
9. While you are reading headers, check the security ones too with the [Security Headers Checker](https://ursy.com/security-headers-checker/). If a page still looks old after a purge, the [Redirect Checker](https://ursy.com/redirect-checker/) shows whether a [redirect](https://ursy.com/wiki/redirect/) is sending you to a different address that was not purged.
10. Watch speed after a full purge. A [Page Speed Checker](https://ursy.com/page-speed-checker/) is coming soon; see [time to first byte](https://ursy.com/wiki/time-to-first-byte/), [largest contentful paint](https://ursy.com/wiki/largest-contentful-paint/) and [Core Web Vitals](https://ursy.com/wiki/core-web-vitals/).
11. Keep watching. In URSY Pro, opening in stages: the [edge cache report](https://ursy.com/pro/edge-cache-report/), [cached-page visitors](https://ursy.com/pro/cached-page-visitors/), the [stale facts finder](https://ursy.com/pro/stale-facts-finder/) and [live facts](https://ursy.com/pro/live-facts-plugin/), which prints prices, counts and stock live.

All 56 live free tools are on our [tools](https://ursy.com/tools/) page. Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day.

## What URSY.com counts {#what-ursy-counts}

Most pages on a fast website are answered by the edge cache and never reach the website itself, so a normal plugin never sees the bots that read them. Unlike your own [server logs](https://ursy.com/wiki/server-logs/), we read the CDN’s own edge log, which lists every request, cached or not, with its [user agent](https://ursy.com/wiki/user-agent/), path, status code and cache result. So we can show who read a cached copy: people, search engines, AI crawlers, [AI agents](https://ursy.com/wiki/ai-agent/) and other machines. The edge log arrives about 10 minutes late. The rules are on our [methodology](https://ursy.com/methodology/) page, and [why analytics numbers are low](https://ursy.com/wiki/why-analytics-numbers-are-low/) explains the gap.

## Questions {#questions}

### Does purging the cache hurt SEO? {#does-purging-the-cache-hurt-seo}

No. A purge only means the next request is fetched fresh from your server. A full purge can slow the site briefly while the cache fills again, so purge only what changed.

### How quickly does a purge work? {#how-quickly-does-a-purge-work}

Cloudflare says its Instant Purge means updates are reflected immediately. Check the `CF-Cache-Status` header to be sure.

### Should I purge after every edit? {#should-i-purge-after-every-edit}

Purge the pages and files that show the changed fact. If your pages carry cache tags, one tag purge can clear them all at once.

### Do I need to tell Google after a purge? {#do-i-need-to-tell-google-after-a-purge}

Not for every change. Keep accurate update dates in your sitemap and return a correct `ETag`. For Bing and other IndexNow engines, a ping tells them a URL was updated.

## Related words {#related-words}

- [CDN (content delivery network)](https://ursy.com/wiki/cdn/)
- [Edge cache](https://ursy.com/wiki/edge-cache/)
- [Origin server](https://ursy.com/wiki/origin-server/)
- [Object cache](https://ursy.com/wiki/object-cache/)
- [Time to first byte](https://ursy.com/wiki/time-to-first-byte/)
- [IndexNow](https://ursy.com/wiki/indexnow/)
- [Page speed](https://ursy.com/wiki/page-speed/)
- [Crawl budget](https://ursy.com/wiki/crawl-budget/)
- [PHP workers](https://ursy.com/wiki/php-workers/)

## Sources {#sources}

- [Cloudflare Docs: Purge cache](https://developers.cloudflare.com/cache/how-to/purge-cache/), checked 24 November 2026
- [Cloudflare Docs: Purge cache by cache-tags](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-tags/), checked 24 November 2026
- [Cloudflare Docs: Cloudflare cache responses](https://developers.cloudflare.com/cache/concepts/cache-responses/), checked 24 November 2026
- [MDN Web Docs: Cache-Control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control), checked 24 November 2026
- [Google Crawling Infrastructure: Overview of Google crawlers and fetchers](https://developers.google.com/crawling/docs/crawlers-fetchers/overview-google-crawlers), checked 24 November 2026
- [IndexNow.org](https://www.indexnow.org/), checked 24 November 2026
- [URSY.com: How we count (methodology)](https://ursy.com/methodology/), checked 24 November 2026

*Updated 24 November 2026 by URSY.com.*
