MemoryCache wrapper which helps reduce cached slow function calls.