AlaskaAirlines / AuroDocsSite

Repository for the management of the Auro doc site
https://auro.alaskaair.com/
0 stars 0 forks source link

Consider optimizing webcomponents polyfill loading #252

Open rmenner opened 1 month ago

rmenner commented 1 month ago

suggestion (performance): Consider optimizing webcomponents polyfill loading

Loading the webcomponents polyfill from an external CDN could impact performance. Consider hosting this file locally or exploring more efficient loading strategies.

<script>
  (function() {
    var wcjs = document.createElement('script');
    wcjs.src = '/webcomponents-loader.js';
    wcjs.defer = true;
    document.head.appendChild(wcjs);
  })();
</script>

_Originally posted by @sourcery-ai[bot] in https://github.com/AlaskaAirlines/AuroDocsSite/pull/249#discussion_r1803878147_