It would be nice if there was an option for external javascript files to be marked as async and/or defer
As always, thanks for the great product.
It would be nice if there was an option for external javascript files to be marked as async and/or defer
As always, thanks for the great product.
You can add it to the head section from the settings dialog under Head Content
like this
<script src="example1.js" defer></script>
<script src="example2.js" async defer></script>
<script async>
// Inline script code
</script>
For external scripts, using both attributes together has no practical effect, and the script will behave similarly to using async alone.
Thanks for the tip. That did exactly what I needed.