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.
Breaks at Cache: Cache serves an hour-old page
How it works
Visitors shown the old price: 49 minutes' worth
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
- 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.
UnlockCommon questions
- Should I turn off caching?
- Usually not. Cache for speed and refresh when the data changes.