---
title: "Caches cannot reuse the page"
description: "Vary: * or missing caching instructions stop browsers and CDNs keeping a copy, so every visit is built again."
url: https://ursy.com/issues/cache-not-reusable/
updated: 2026-11-30T12:53:04+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/cache-not-reusable/
---

# Caches cannot reuse the page

> Vary: * or missing caching instructions stop browsers and CDNs keeping a copy, so every visit is built again.

Vary: * or missing [caching](https://ursy.com/wiki/caching/) instructions stop browsers and CDNs keeping a copy, so every visit is built again.

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

Cache-Control tells browsers and CDNs whether, and for how long, they may keep a copy of the page. Without it, each one decides for itself. Vary: * says the answer can change for reasons not in the request, so no cache can reuse a stored copy at all.

When nothing is reused, every visit goes back to your server, which makes pages slower and the server busier, most of all when many people arrive at once.

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

Send Cache-Control with a choice that fits the page, for example "public, max-age=300" for a public page that changes often, and "max-age=31536000, immutable" for files whose name changes when they change. Keep private or no-store for baskets and accounts.

Remove Vary: * and name only the request headers that really change the page, usually Accept-Encoding. Check with the [Edge Cache](https://ursy.com/wiki/edge-cache/) Checker.

### What the problem looks like {#what-the-problem-looks-like}

```
HTTP/2 200
content-type: text/html; charset=utf-8
vary: *
```

Vary: * and no Cache-Control: no browser or [CDN](https://ursy.com/wiki/cdn/) can reuse a stored copy.

### What it looks like fixed {#what-it-looks-like-fixed}

```
HTTP/2 200
content-type: text/html; charset=utf-8
cache-control: public, max-age=300
vary: Accept-Encoding
```

A public page that caches may keep for five minutes, varying only by compression.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
Browsers and CDNs cannot reuse [the page address] on my website [your website address], built with [your platform, e.g. WordPress on Apache behind Cloudflare]. First read the response headers, or ask me to paste them, and explain plainly what Cache-Control, Vary, Expires and any CDN cache headers say, and what part of my stack probably adds each one. Explain why the page cannot be reused: Vary: *, no caching instructions, or no-store on a public page. Then give me the right headers for each kind of address: public pages such as public, max-age=300; static files with versioned names such as max-age=31536000, immutable; baskets, checkout and accounts private or no-store. Replace Vary: * with only the headers that really change the page, usually Accept-Encoding. Rules: back up config first, never let a cache store personal pages, change only caching headers, and keep page addresses the same. Give the exact lines or settings and where they go. Then tell me to re-check with the URSY.com Edge Cache Checker at ursy.com/cache-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Caching plugins and hosts set Cache-Control for pages. Look for a plugin or theme that sends Vary: * and turn that option off, keeping baskets and accounts private.

### Your server or hosting {#your-server-or-hosting}

On nginx use add_header Cache-Control "public, max-age=300"; for public pages, and find where Vary: * is added. On Apache, mod_headers does the same with Header set.

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

In Cloudflare or a similar CDN, set cache rules for public pages and static files, and bypass the cache for baskets, checkout and logged-in visitors.

## Check it is fixed {#check-it-is-fixed}

Run the URSY.com Edge Cache Checker again: the page should have caching instructions, no Vary: *, and a second visit should be served from the cache.

## Official source {#official-source}

[MDN: HTTP caching](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching)

## Questions {#questions}

### Will caching show visitors old prices? {#will-caching-show-visitors-old-prices}

Only for as long as you allow. A short max-age on public pages, and clearing the cache after big changes, keeps them fresh.

### Could caching show one customer another customer's basket? {#could-caching-show-one-customer-another-customers-basket}

Only if personal pages are cached by mistake. Keep baskets, checkout and accounts private or no-store, and test while logged in.

---

**Cite this page:** Caches cannot reuse the page. URSY.com. Updated 30 November 2026. https://ursy.com/issues/cache-not-reusable/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[Caches cannot reuse the page](https://ursy.com/issues/cache-not-reusable/), URSY.com`. One section: add its id, for example https://ursy.com/issues/cache-not-reusable/#section-id (every heading above has one).

Section links: https://ursy.com/citations/4/#p-5729 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/cache-not-reusable/
- As JSON: https://ursy.com/issues/cache-not-reusable/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
