2 min read · Websites and web apps

Copies of data are kept in the browser, in intermediaries and in the app. What matters is how old the data may be, when to recheck it and how to invalidate a copy. Public data and user-specific data need different rules.
Steps to apply
- List the pages and the type of data on each.
- Set the acceptable age and the conditions for clearing a copy.
- Keep separate rules for public content and private data.
- Test by changing data, switching accounts and logging out.
Example deliverable
Deliverable: a cache policy table for the catalog and the customer portal.
Benefits
Where it fits, it reduces repeated requests and load time.
Limits and cautions
A wrong setting can send stale data or private data to other users.
Starting references
- MDN — HTTP caching
- MDN — Cache-Control
References
- MDN — HTTP caching (accessed 2026-11-21)
- MDN — Cache-Control (accessed 2026-11-21)




