Cloudflare Pages Mini Review
Published by Luke M on
TLDR: Pretty good, but I won’t switch.
The only way to use Cloudflare pages is to use a linked GitHub Repository. GitLab, self hosted git, or uploads are not supported. Once you add the GitHub app, you can deploy any repo with a static site. When you select a repository, however, there is no search feature. You must look through all repos to find the one you want.
Then, you select a subdomain of
*.pages.dev, and the build commands. There is a drop-down menu to select from the most common frameworks. All of the ones that I could think of were included, but if you use something else, you can type a custom command.
Compared to Netlify, the build takes quite a while. Updating one word on one post took 5:28. Netlify takes 28s to build and a total of 43.077174914s for the same change. For some reason, Hugo was installed, even though my site uses Jekyll.
Analytics and other features
Cloudflare has built-in free analytics, which are supposedly privacy-friendly. On Netlify, you must pay a seperate fee ($9/month/site), or provide your own. I use GoatCounter. Cloudflare’s solution seems pretty comprehensive. It also measures core web vitals, which I found interesting. My main website was getting several views every minute from Boing Boing and Hacker News, so I decided to try it out there. It was interesting to see, for example, which countries use which operating systems, and that my page loads slower in Brazil. You can see the Cloudflare dashboard here and the Goatcounter dashboard here. Besides that, Netlify has much more features, such as forms, identity, large media support, and snippet injection, which are not supported by Cloudflare. This is to be expected, as static site hosting is Netlify’s buisiness, but Cloudflare’s new side project.
It’s Cloudflare, so…
According to w3techs, 16.4% of the web uses Cloudflare. I don’t want to make the web more centralized than it already is, and I am considering taking my site self-hosted sometime. I also don’t need every reader to enter a captcha. I want it to be usable for people using tor. And I don’t want to ruin the internet for non-first world countries. I know these are arguments against their proxy, but they seem to apply to their pages as well.
Pricing and limits
I won’t be switching to Cloudflare Pages, but if I have a high traffic, low update project, I might consider it. If this applies to you, and you are fine with Cloudflare, then this might be a good choice.