`WITH_CACHE` is part of the configuration, and its value is check at the beginning of the script it the `set flags` section. The usage of the cache method should be consistent through the whole script.