Moving 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.
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
- Joelchrono’s Blog
- Kev Quirk
- Andrew Healey's Blog
- Milly Wrote it
Generated by openring