clear cache on save