issue 25225: If cache-folder is not writable, disable caching and give warning