Fast Google Fonts with Cloudflare Workers

Google Fonts is one of the most common third-party resources on the web, but carries with it significant user-facing performance issues. Cloudflare Workers running at the edge is a great solution for fixing these performance issues, without having to modify the publishing system for every site using Google Fonts.
This post walks through the implementation details for how to fix the performance of Google Fonts with Cloudflare Workers. More importantly, it also provides code for doing high-performance content modification at the edge using Cloudflare Workers.
Google fonts are SLOW
First, some background. Google Fonts provides a rich selection of royalty-free fonts for sites to use. You select the fonts you want to use, and end up with a simple stylesheet URL to include on your pages, as well as styles to use for applying the fonts to parts of the page:
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto+Slab"
rel="stylesheet">
<style>
body {
font-family: 'Open Sans', sans-serif;
}
h1 {
font-family: 'Roboto Slab', serif;
}
Your visitor’s browser fetches the CSS file as soon as the HTML for the page is available. The browser will request the underlying font files when the browser does layout for the page and discovers that it needs Continue reading

SDxCentral spoke with Nick Lippis, ONUG co-founder and co-chair, about ONUG’s first conference in Europe. The event is part of a partnership with Barclays, and will be held December 7 at their corporate headquarters in London.
Beyond the usual suspects, Alibaba's capex leapt in the quarter putting it ahead of many other hyperscale operators.
Huawei is a key player in the group, which might explain why no U.S. operators are members.
The vendor’s resiliency also improved airport security. “With security you can’t afford any downtime,” said the director of IT and security at Charleston International Airport.
The SDK abstracts the developer away from having to deal with hardware security.
Cisco acquires software provider Ensoft; AWS expands language processing service and Snowball; and the LF Networking Fund grows its membership.
