LogicTrail
  • Trails
  • Check my app
  • Pricing
  • Sign in
  1. Trails
  2. /
  3. Launch day
  4. · 4 minutes · Pro

The old price

You raised your price an hour ago. Your admin page shows the new price. Customers are still checking out at the old one.

This answers: Why do customers still see my old price? No coding needed. 3 quick decisions.

  • How a request travels
  • Where your data lives

Checking your access…

Why do customers still see my old price?

The page is cached: a saved copy is served to visitors until it expires or is refreshed. Your admin page reads the database, so it looks right. Refresh the cache whenever prices change, and always calculate the amount you charge on the server, never from the price the page sends.

Trail of the bug
  1. Browser
  2. Cache
  3. Your server
  4. Database

Breaks at Cache: Cache serves an hour-old page

How it works

Who sees the old priceRefresh cache on save
Cached 0 minPrice changedCache expires 60 min

Visitors shown the old price: 49 minutes' worth

The page was cached for an hour. You changed the price at minute 11, but visitors keep getting the saved copy until minute 60.

Why AI tools write this bug

Frameworks and hosts cache pages by default for speed, and AI-generated save actions rarely include the step that refreshes the cache.

How to fix it

  1. Check the cache-control and age headers on the page.

3 more steps, and a prompt that checks your own app for this bug. Part of Pro.

Unlock

Common questions

Should I turn off caching?
Usually not. Cache for speed and refresh when the data changes.

Related scenarios

  • The double orderPro · 5 min
  • Every page spins foreverPro · 4 min
  • Invoice 105Free · 4 min

More on this trail

Launch day: Emails that never arrive, sign-in errors, timeouts, stale prices and connection limits.

Want someone to look?

We check AI-built apps for this and three other common leaks, in plain English.

Check my app
Sign in

Sign in to walk this one

3 decisions, about 4 minutes, and a prompt to check your own app for the same problem.

Sign in No password. We email you a link.

How to fix it

  1. Check the cache-control and age headers on the page.

3 more steps, and a prompt that checks your own app for this bug. Part of Pro.

Unlock