QA Fundamentals · Senior · Question 67 of 76
How do you test caching behaviour?
- 1Check that the page is always loaded from the cache, never the server
- 2Check that the cache folder exists on the server's file system
- 3Check stale data, invalidation after updates and cache misses
Show the answer
Correct answer: Check stale data, invalidation after updates and cache misses
Explanation
Typical cache bugs: stale prices after an update, one user's data shown to another, or a cold cache overloading the database after a deploy.