Avoided static state for the in-memory cache.