As the saying goes, there are only two hard problems in computer science: naming things, cache invalidations, and off by one errors. Chris's predecessor decided to tackle the second one, mostly by accurately(?) naming a class:
class SimpleCache
{
}
This is, in fact, the simplest cache class I can imagine. Arguably, it's a bit too simple.
Instances of this class abound in code, though no one is entirely sure why. Future optimization? Just no one understanding what they're doing? Oh right, it's that one. It's always no one understanding what they're doing.
![](https://thedailywtf.com/images/inedo/proget-icon.png)