DRYd up cache expiration. Probably need to move to a sweeper class at some point