Saving configuration in a loaded site is slow
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3529760. -->
Reported by: [dimilias](https://www.drupal.org/user/2578708)
Related to !12
>>>
<p>I have tried to change the settings in the live website where a lot of data were there already, and the settings form is VERY slow to save.</p>
<p>Possible culprit: <code>\Drupal\track_usage\Hook\RecordUsageHook::onTrackConfigUpdate</code></p>
<ul>
<li>remove the tracking data rebuild from track_usage_config_update</li>
<li>when entering the config edit form show a warning banner that says any change to the config might require full tracking data rebuild</li>
<li>after submitting the form detect if there where configuration changes, if yes show a warning saying that you need to rebuild the tracking data with a link to the bulk update in the settings page</li>
</ul>
issue