Skip to main content

Caching Pitfalls

The nature of caching anything is that it is a tradeoff: in return for having quick access to some data without having to recalculate it, the data returned is not up-to-date.

This presents a problem - being careful in exactly what data you cache, particularly with regards to complex queries and searches.

Overly-specific cached data