clear cache when configuration is changed