{
    "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/",
    "canonical": "https://ursy.com/issues/cache-not-reusable/",
    "markdown": "https://ursy.com/issues/cache-not-reusable/index.md",
    "json": "https://ursy.com/issues/cache-not-reusable/index.json",
    "published": "2026-11-29T21:57:24+00:00",
    "updated": "2026-11-30T12:53:04+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY.com",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY.com and link https://ursy.com/issues/cache-not-reusable/",
    "start_here": {
        "page": "https://ursy.com/issues/cache-not-reusable/",
        "markdown": "https://ursy.com/issues/cache-not-reusable/index.md",
        "json": "https://ursy.com/issues/cache-not-reusable/index.json",
        "cite": "Name URSY.com and link the page you used.",
        "doors": {
            "llms_txt": "https://ursy.com/llms.txt",
            "facts": "https://ursy.com/facts.json",
            "mcp": "https://ursy.com/mcp/",
            "openapi": "https://ursy.com/.well-known/openapi.json"
        }
    },
    "issue": {
        "slug": "cache-not-reusable",
        "problem": "Caches cannot reuse the page",
        "summary": "Vary: * or missing caching instructions stop browsers and CDNs keeping a copy, so every visit is built again.",
        "status": "Live",
        "priority": "low",
        "category": "speed",
        "category_title": "Speed and caching",
        "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": [
            "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 Checker."
        ],
        "steps": [],
        "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.",
        "found_by": [
            {
                "tool": "cache-checker",
                "name": "Edge Cache Checker",
                "status": "Live",
                "page": "https://ursy.com/cache-checker/",
                "card": "https://ursy.com/cache-checker.json"
            },
            {
                "tool": "http-header-checker",
                "name": "HTTP Header Checker",
                "status": "Live",
                "page": "https://ursy.com/http-header-checker/",
                "card": "https://ursy.com/http-header-checker.json"
            }
        ],
        "full_record": "https://ursy.com/wp-json/ursy/v1/issues/cache-not-reusable",
        "source": {
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching",
            "title": "MDN: HTTP caching"
        },
        "cite": "Caches cannot reuse the page. URSY.com. https://ursy.com/issues/cache-not-reusable/"
    },
    "headings": [
        {
            "level": 2,
            "text": "Why it matters",
            "id": "why-it-matters",
            "url": "https://ursy.com/issues/cache-not-reusable/#why-it-matters"
        },
        {
            "level": 2,
            "text": "How to fix it",
            "id": "how-to-fix-it",
            "url": "https://ursy.com/issues/cache-not-reusable/#how-to-fix-it"
        },
        {
            "level": 3,
            "text": "What the problem looks like",
            "id": "what-the-problem-looks-like",
            "url": "https://ursy.com/issues/cache-not-reusable/#what-the-problem-looks-like"
        },
        {
            "level": 3,
            "text": "What it looks like fixed",
            "id": "what-it-looks-like-fixed",
            "url": "https://ursy.com/issues/cache-not-reusable/#what-it-looks-like-fixed"
        },
        {
            "level": 2,
            "text": "Fix it with your AI assistant",
            "id": "fix-it-with-your-ai-assistant",
            "url": "https://ursy.com/issues/cache-not-reusable/#fix-it-with-your-ai-assistant"
        },
        {
            "level": 2,
            "text": "Fix it on your platform",
            "id": "fix-it-on-your-platform",
            "url": "https://ursy.com/issues/cache-not-reusable/#fix-it-on-your-platform"
        },
        {
            "level": 3,
            "text": "WordPress",
            "id": "wordpress",
            "url": "https://ursy.com/issues/cache-not-reusable/#wordpress"
        },
        {
            "level": 3,
            "text": "Your server or hosting",
            "id": "your-server-or-hosting",
            "url": "https://ursy.com/issues/cache-not-reusable/#your-server-or-hosting"
        },
        {
            "level": 3,
            "text": "Your CDN (for example Cloudflare)",
            "id": "your-cdn-for-example-cloudflare",
            "url": "https://ursy.com/issues/cache-not-reusable/#your-cdn-for-example-cloudflare"
        },
        {
            "level": 2,
            "text": "Check it is fixed",
            "id": "check-it-is-fixed",
            "url": "https://ursy.com/issues/cache-not-reusable/#check-it-is-fixed"
        },
        {
            "level": 2,
            "text": "Official source",
            "id": "official-source",
            "url": "https://ursy.com/issues/cache-not-reusable/#official-source"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/issues/cache-not-reusable/#questions"
        },
        {
            "level": 3,
            "text": "Will caching show visitors old prices?",
            "id": "will-caching-show-visitors-old-prices",
            "url": "https://ursy.com/issues/cache-not-reusable/#will-caching-show-visitors-old-prices"
        },
        {
            "level": 3,
            "text": "Could caching show one customer another customer's basket?",
            "id": "could-caching-show-one-customer-another-customers-basket",
            "url": "https://ursy.com/issues/cache-not-reusable/#could-caching-show-one-customer-another-customers-basket"
        }
    ],
    "links": [
        {
            "text": "caching",
            "url": "https://ursy.com/wiki/caching/",
            "internal": true
        },
        {
            "text": "Edge Cache",
            "url": "https://ursy.com/wiki/edge-cache/",
            "internal": true
        },
        {
            "text": "CDN",
            "url": "https://ursy.com/wiki/cdn/",
            "internal": true
        },
        {
            "text": "ChatGPT",
            "url": "https://ursy.com/wiki/chatgpt/",
            "internal": true
        },
        {
            "text": "MDN: HTTP caching",
            "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching",
            "internal": false
        }
    ],
    "words": 597,
    "text": "Vary: * or missing caching instructions stop browsers and CDNs keeping a copy, so every visit is built again. 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 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 Checker. 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 can reuse a stored copy. 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 Paste this into 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 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 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) 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 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 MDN: HTTP caching Questions 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? Only if personal pages are cached by mistake. Keep baskets, checkout and accounts private or no-store, and test while logged in.",
    "source": "https://ursy.com/issues/cache-not-reusable/"
}