Software Engineering
← All questionsA cached delivery fee expires after 60 seconds. Reader A fetches the old £3 fee from the database but pauses before caching it. Writer B changes the fee to £4 and deletes the cache key. A then caches £3 with a fresh 60-second TTL. Why can the next visitor still see £3, and what would you check before trusting that fee at checkout?
Start with your best guess. One sentence is enough.