Moving to Cloudflare Pages
Today I caught up for coffee with a good friend, Renlord. He’s convinced me to move this blog to Cloudflare Pages.
Earlier in the year, I wrote about migrating to Vercel to improve performance by caching my blog at the “edge”.
Vercel is great, and feels pretty seamless to use. I can push commits and see them deployed in about close to a minute, and load times are fast no matter where you are.
From an integration perspective, Cloudflare Pages and Vercel are quite similar. You authenticate with GitHub, choose the repositories you want to share, and Cloudflare Pages will pick up on your static site generator (in my case, hugo), and offer a build command.
Lighthouse performance on web.dev seems to be equivalent between both services, but there’s a noticeable difference when loading from the local PoP2.
Here is performance from my browser via Vercel:
Here is the same test against, but against Cloudflare Pages:
We save about 0.2s on a few metrics, which isn’t bad!
Now, I know what you’re thinking, this is total overkill for a static site, and there’s no noticeable performance improvement moving from Vercel to Cloudflare Pages for the average website. That’s true. I just like improving performance and playing with new technology/services at the same time. This was a great way to spend a few hours this afternoon.
Expect a follow-up post on using Cloudflare Tunnel to proxy traffic to my home Kubernetes cluster.
This post was not sponsored by Cloudflare.
On the web
AutoTrader ScammersSat Jun 3 2023 by Kev Quirk
Building Family WebsitesMon May 29 2023 by Andrew Healey's Blog
ESLint as a learning resource.Fri Feb 17 2023 by Ru
Local Environment Seeders in LaravelMon Jan 30 2023 by stefanzweifel.dev
7 Reasons why I don't writeMon Jan 30 2023 by Max Böck
Generated by openring