Changing how the cache gets reset