Following documentation in the Asset Manager section (http://learn.getgrav.org/themes/asset-manager) I modified my instance of antimatter theme with the Intent is to boost my PageSpeed Insights score.
Opened user version of base.html.twig and altered it:
{% block javascripts %}
{% do assets.addJs('jquery',101, {'loading':'async'}) %}
{% do assets.addJs('theme://js/modernizr.custom.71422.js', {'priority':100, 'group':'bottom'}) %}
{% do assets.addJs('theme://js/antimatter.js', {'priority':100, 'group':'bottom'}) %}
{% do assets.addJs('theme://js/slidebars.min.js', {'priority':100, 'group':'bottom'}) %}
{% endblock %}
{{ assets.js() }}
Have cleared cache but the async loading directive is not being implemented. Page source in both localhost and production does not show that jQuery is being loaded asynchronously.
Could this be because jQuery is being loaded as a "named asset"? Something else? Suggestions? Thanks.