This is something to consider for the future. Respective issue/discussion over at d.org: https://www.drupal.org/node/1537198
JavaScript is typically used in two forms. There is the production and development version. The development version is used for development, troubleshooting, bug fixing, when you need to step through execution, etc. We should provide a toggle to allow switching between production/development JavaScript.
A simple implementation can be found in the speedy module.
This is a setup task to start shipping with minified JavaScript files in addition to the development version. The naming for production/development is taken because this is the naming convention used on jquery.com.
Recent comments
With JQuery, simple and fast. Or put all possible links in one menu, and hide unnecessary with CSS mediaquery.
Different primary menus depending on the viewport size?
I wonder if what is happening here is the default database settings are for utf8mb4 if the database server supports it. In settings.php or settings.local.php if that's where you put your...
Problem with utf8mb4 Format when importing database
I've not done this with a menu before but something similar with different Views presentation blocks for different resolutions (i.e. not just responsive but a different presentation method...
Different primary menus depending on the viewport size?