Polyfill.io Video Tutorial
- It is necessary to look for the blocks of codes corresponding to the polyfills to be used.
- All users are required to load the code of a polyfill even if in the end it is only used by 1% of users.
The advantage is that it will also check the browser's User Agent header to distribute only the polyfills needed by the current browser. So it will not impose users of modern browsers a download unnecessary.
- Polyfill.io does not guarantee SLA and the service may be unavailable or discontinued overnight.
- In the same way, if the service is stopped and someone malicious resumes the domain you could end up with dishonest code running on your site.
To avoid these problems you can host your own instance of the Polyfill.io service using the source code (if you need help configuring your server for a NodeJS application you can use this tutorial).