I'd use a cache adapter here, and not rely on own code.