News for hackers. Stuff that matters.
Re:Polyfill supply chain attack hits 100K+ sites by tehbeard on Wednesday June 26, 2024 @07:56AM (#40798916)
In practice when this wasn't a Chinese adware service, it proved to be faster to use the CDN.

You are not loading a "bunch" of polyfill script files, you selected what you needed in the URL via a query parameter, and the service took that plus user agent of the request to determine which were needed and returned a minified file of just the necessary polyfills.

As this request was to a separate domain it did not run into the head of line / max connections per domain issue of Http 1.1 which was still the more common protocol at the time this service came out.

There are no comments on this comment yet.