
Syntax - Tasty Web Development Treats
795: Hosting Private Fonts on the Edge With Cloudflare
Jul 15, 2024 · 24 min
0:00-24:23
Streams straight from the publisher. podnod never proxies or re-hosts episode audio.
Scott and Wes dish out the intricacies of hosting private fonts using Cloudflare Pages. They explore the challenges of font security, the benefits of a font server, and the nuances of caching and whitelisting to keep your fonts secure and efficient.
Show Notes- 00:00 Welcome to Syntax!
- 01:53 Behind the Code: Brought to you by Sentry.io.
- 03:12 The problem with hosting fonts.
- 05:42 The solution, a font server with Cloudflare Pages.
- 09:37 Utilizing a Key Value Store.
- 10:53 Storing a whitelist.
- 13:42 Why not just use a bucket?
- 15:24 Should whitelisting be done in JavaScript or cores?
- 17:23 How do you cache to multiple origins?
- 18:15 Multiple URLs in an allow origin.
- 19:17 Font security and foundry challenges.
- 21:43 Moving Domains on Cloudflare.
Check out the font Syntax uses! MD-IO.
Hit us up on Socials!Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
Behind the Code
sentry.ioSentry.io
sentry.ioScott’s Fonts
github.comCloudflare Pages
pages.cloudflare.comCheck out the code
github.comMD-IO
mass-driver.comX
twitter.comInstagram
instagram.comTiktok
tiktok.comLinkedIn
linkedin.comThreads
threads.netX
twitter.comInstagram
instagram.comTiktok
tiktok.comLinkedIn
linkedin.comThreads
threads.netX
twitter.comInstagram
instagram.comTiktok
tiktok.comLinkedIn
linkedin.comThreads
threads.netX
twitter.comInstagram
instagram.comYouTube
youtube.comThreads
threads.net