/plushcap/analysis/cloudflare/cloudflare-fonts-enhancing-website-privacy-speed

Cloudflare Fonts: enhancing website font privacy and speed

What's this blog post about?

Cloudflare is introducing a new feature called Cloudflare Fonts that allows websites to serve Google fonts from their own domain instead of using Google servers, improving both data privacy and website speed. This is achieved by rewriting the HTML as it passes through Cloudflare's global network, embedding the CSS response, performing font URL transformations within the embedded CSS, and caching these modified responses in Cloudflare's infrastructure. The new module called ROFL (Response Overseer for FL), written entirely in Rust, powers various Cloudflare products that need to alter HTML as it streams and allows for fast and safe HTML rewrites. Cloudflare Fonts will be available to all Cloudflare customers in October.

Company
Cloudflare

Date published
Sept. 25, 2023

Author(s)
Matt Bullock, William Woodhead

Word count
1395

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.