Rewrite HTML response at the edge (with Rust SDK)

This example Compute@Edge app modifies the HTML returned from https://example.com on the fly.

  • Inserting Google Fonts link tags
  • Replacing CSS in style tags
  • Modifying inner contents of h1 tags

image1

Deployed at https://rewrite-html.edgecompute.app for demo.