Hello,
I've built some custom templates including javascript source files
<xen:require js="/community/js/myfile.js" />
The result is sth. like this
<script src="/community/js/myfile.js"></script>
However, concerning loading performance and SEO this would be better
<script async src="/community/js/myfile.js"></script>
Is it possible to add "async" parameter to my js file?
I've built some custom templates including javascript source files
<xen:require js="/community/js/myfile.js" />
The result is sth. like this
<script src="/community/js/myfile.js"></script>
However, concerning loading performance and SEO this would be better
<script async src="/community/js/myfile.js"></script>
Is it possible to add "async" parameter to my js file?