Hi, @askthings. Is the issue that the loading of the URL from
unpkg.com is slow? If the script permissions allow for it, you might just copy that file into your local repo and host it directly from your site’s domain name. This might give you better performance but, again, I don’t know if the permissions of the script allow for this or not.
Obviously, if the script is being loaded from some domain that Netlify doesn’t control, the speed of loading that script isn’t something that Netlify can control. However, if you move the script to Netlify and it is still loading slowly, we are happy to research why.
If there are other questions, please let us know. Also, please consider sharing the actual URLs with us here. With the actual URL, we can troubleshoot the issue directly and provide much better information because we answering specifically about directly observed behavior as opposed to making best guesses about hypotheticals.