Changing caching method.