clear cache when saving config settings