Adding “defer” attribute to clientLib script tags in AEM 6.1
问题 How would I add the defer attribute to our script tags? We get them via the clientLib tag call in our head.html but there's not much out there for AEM and how to easily add the defer tag to our scripts. <clientlib data-sly-call="${clientLib.all @ categories=['company-libraries']}" data-sly-unwrap/> Any help is appreciated! Thanks 回答1: You could use Jens answer: https://github.com/nateyolles/aem-clientlib-async but that one does not play nice with ACS commons versioned clientlib.which is why I