Asynchronous HTMLRewriter for Cloudflare Workers
https://blog.cloudflare.comHTMLRewriter for Cloudflare Workers enables developers to make streaming changes to HTML on the edge. Cloudflare has just announced support for asynchronous handlers in HTMLRewriter. Now you can perform asynchronous tasks based on the content of the HTML document: from prefetching fonts and image assets to fetching user-specific content from a CMS.