Clear cache when changes are saved