All articles

The one page your online shop should never share

Sort your shop’s pages by who may see the same response, then use two test baskets to check that a CDN keeps each shopper’s order private.

Two shopping baskets contain different coloured mugs under separate customer tags.

Put a red mug in one test basket and a blue mug in another. Both shoppers can be looking at exactly the same address: /cart/. They’ve just given you a very good reason to read the small print on “cache everything”.

A content delivery network, or CDN, can keep a copy of a response near the next visitor. The question for a shop owner is simple. Who is allowed to receive this exact copy?

Work from the response outward

A photograph of the mug can usually go to anyone. A returns policy is also public, although someone needs a way to refresh it after an edit. A delivery estimate might depend on postcode. A basket depends on the shopper.

Ask your developer to describe four real pages in those terms. Include an ordinary product URL viewed while signed in: a wholesale price, account greeting or basket preview can turn an apparently public page into something personal. The rule needs to account for the response the site actually sends.

Who may reuse the response?

Versioned photo
Public, long-lived asset
Returns policy
Public, purge after editing
Regional estimate
Isolate the known variant
Basket or account
Bypass shared caching
Example rules for a coffee shop. Check the actual application headers and edge rules.

Shared caches can be instructed to avoid storing personalised responses. The HTTP directive private restricts storage to a private cache such as the visitor’s browser. no-store is the instruction for avoiding storage altogether. Your hosting and CDN rules matter too, particularly if someone configured a broad override for HTML. MDN’s Cache-Control reference · Cloudflare’s cache-control guide

A two-mug acceptance test

Have the team use two separate browser profiles and test accounts in staging. Add the red mug in one and the blue in the other. Alternate between profiles, opening and refreshing the same basket URL. Check the quantities, names and prices each time. Repeat the public product view after signing out. Two tabs in one profile may share the very session you’re trying to separate.

Keep those steps with the next CDN change. If either test shopper sees the other mug, stop the rollout and review both the origin response and edge rule. A speedy basket is worth a great deal more when it belongs to the person holding it.

Last updated

3 December 2026

Share this story

Written by Maria Esconde

Maria Esconde writes for Sitecove about WordPress, website measurement and how to turn technical findings into practical changes.

Related content

Borrow five search terms from the person behind the counter

By Sitecove Team

The office Wi-Fi filter that can hide your customers

By Maria Esconde

Why one size disappears from your WooCommerce shop

By Maria Esconde

Fast hosting. Expert care. A website that’s easier to find.Faster hosting, and sites that grow.

Start your free trialSee pricing