Cache Management
polyfill.io now available on cdnjs: reduce your supply chain risk

polyfill.io now available on cdnjs: reduce your supply chain risk

2/29/2024 · Sven Sauleau, Michael Tremante

What this post added

This post introduces an alternative endpoint for polyfill.io hosted on Cloudflare's cdnjs, addressing supply chain risks associated with the original provider. It details the deployment of the polyfill.io service on Cloudflare Workers using Rust, with polyfill files stored in Cloudflare D1 for efficient retrieval. The post also provides a Cloudflare Worker example for automatically rewriting links to the new cdnjs endpoint and highlights the use of Cloudflare's Rust API for metrics and logging.

Read the original post ↗