Clear cache when notified of changes.