The Price Changed. The Page Did Not.

Caching makes pages faster, but price and availability changes need a defined path to the visitor. Identify every cached copy before promising an instant update.

Old price card under a glass dome beside a replacement card

Find the copies

A product price might be cached in the application, a content API, an edge network, and a browser. Staff can update the source correctly while one of those layers keeps serving the old value. Draw the path from the authoritative record to the page. Include related listings and structured data, because a corrected product page can still disagree with a category card or a feed used by another service.

Choose a freshness promise

Some information can tolerate a short delay; other values need checking at the moment of a transaction. Agree on that distinction with the business. A page cache with a time limit gives bounded staleness under particular conditions, while event-driven invalidation has its own failure modes. Explain the expected delay in the administrative workflow instead of displaying a confident “published” message that implies every cache has already refreshed.

Recheck at the commitment point

A displayed price should not become the server's trusted authority merely because the customer submitted it in a form. Validate the current offer and the applicable rules when creating the order. If the price changed, explain the difference and obtain any required confirmation before committing the purchase. The appropriate policy depends on the offer and applicable obligations; hiding the mismatch or silently charging a different amount is not a cache strategy.

Test missed invalidations

Simulate a delayed update event, a failed cache purge, and two quick edits. Verify whether the latest state eventually replaces the older copy and whether the team can identify a stale response. Review preview URLs and logged-in views as well; they may bypass caches that public visitors still use. A successful check in the editor's browser is weak evidence that a customer on another network sees the same price.

Written by Ted Chow LLC

Your next chapter

Have Something in Mind?
Let’s Make It Happen.

A new website, a better workflow, or an idea worth exploring.
We’d love to hear what you’re thinking.

Let’s talk about it