Not so static... Introducing the HTMLRewriter API Beta to Cloudflare Workers
Cloudflare has announced the beta release of HTMLRewriter, a streaming HTML parser with an easy-to-use selector-based JavaScript API for DOM manipulation. This feature is available in the Cloudflare Workers runtime and can be used to perform dynamic transformations on static HTML files hosted on Workers Sites. The combination of Workers Sites and HTMLRewriter allows developers to create serverless applications that are easy to scale, simplify web development workflow, and reduce latency by performing edge-side rendering. The HTMLRewriter API offers a jQuery-like experience for parsing and transforming HTML, allowing developers to build deeply functional applications with powerful JavaScript capabilities.
Company
Cloudflare
Date published
Sept. 30, 2019
Author(s)
Rita Kozlov
Word count
857
Hacker News points
None found.
Language
English