Problem/Motivation
With Drupal 10.1.4, when I got to the Taxonomy listing, the buttons render as text for about 2-3 seconds before the javascript is applied. It appears to be slowness with downloading the aggregated JS file.
With aggregation turned off, this issue does not occur. Each javascript file is downloaded or cached without delay.
Steps to reproduce
Under Configuration > Development, turn on Aggregation for Javascript files.
Go to the Taxonomy listing /admin/structure/taxonomy
The dropdown button render as text before converting to buttons.
Proposed resolution
Find the slowness in rendering the aggregated JS file. I have a theory that it's because jquery 3.7 is being aggregated on every page load and not cached.