Static Website Hosting - GitHub Pages vs Netlify vs Cloudflare Pages
Here I describe my search for the right static website hosting.
As I describe here, three options quickly came to mind:
All three have the option to link a custom domain.
GitHub Pages works with Jekyll but can also work with GatsbyJS.
Unfortunately not all Jekyll plugins can be used, like for example Paginate V2. I also read somewhere that it is not possible to link a private repository. I haven’t tried GitHub Pages yet.
Netlify is different in design and has fewer restrictions than GitHub Pages. For example, Netlify has support for various frameworks.
Netlify can also be linked to a private repository on GitHub.
The big disadvantage is that Netlify can only display visitor statistics for a fee.
I have tested Netlify and it works fine.
Like Netlify, Cloudflare Pages has support for various frameworks including Jekyll. And can also be linked to a private repository.
The big advantage is that
Cloudflare's privacy-first Web Analytics is included for free.
However there are known issues like
For users migrating from Netlify, Cloudflare does not support Netlify's Forms and Serverless Functions features. So there are also limitations.
There is of course much more to compare, but I only looked at what is important to me:
- Support for different frameworks, that’s future-proof
- Connection with GitHub
- View visitor statistics without a subscription. And without using third parties such as Google who slow down the website and do not respect the privacy of visitors
- Being able to link a custom domain
That’s why I chose Cloudflare Pages.
Read other notes
No comments found for this note.
Join the discussion for this note on this ticket. Comments appear on this page instantly.
Notes mentioning this note
- Netlify - Setup with GitHub
Here I describe the setup of Netlify Static Website Hosting in combination with GitHub.
- Obisidian - Alternatives for Obsidian Publish
Because of the high price (my personal opinion of course) of Obsidian Publish I knew I had to look for...
- Obsidian - Setup a Digital Garden with GitHub and Cloudflare Pages
Here I describe my search for a static website generator.