Asynchronous HTMLRewriter for Cloudflare Workers
Aug 28, 2020Ashcon Partovi

Summary
Introduced asynchronous handlers to HTMLRewriter, enabling developers to perform awaitable operations within element handlers. This allows for dynamic HTML modification based on fetched data, user context, or external API calls. Enhanced CSS selector support to include `nth-child` selectors. Provided examples for user customization and image restoration using external APIs.