Hugo rendering: Github Pages vs Netlify vs Cloudflare Pages
Given the various choices of hosting for your static files you may be unsure which one to pick. These are the features and performances of the top three services with their free tier.
Features | Github Pages | Cloudflare Pages | Netflify |
---|---|---|---|
Multiple subomains1 | ❌ | Max 10 | Infinite |
Custom subdomains | Fixed to [github username].github.io | Fixed to [github repo name].pages.dev | *.netlify.app |
Ease of Setup | Low | High | High |
SSLlabs score | A | B | A |
Byte Serving for video | ✅ | ❌ 2 | ✅ |
Monthly Bandwith | 100GB | n/a | 100GB |
Builds limits | 10 builds per hour | 500 times per month | 300 minutes per month |
Maximum file size | 100 MB | 25 MB | n/a |
Storage Size | 5 GB | n/a | 100 GB |
Build Previews | ❌ | ✅ | ✅ |
Test Build: Hugo | 1597 ms | 1320 ms | 1852 ms |
Test Build: Total | 33s | 58s | 40s |
Download times: 4.252 Kb HTML 3 | 239 ms | 245ms | 492 ms |
As you can see from the table and from the graph, downloading the test file usually takes 200-250ms on Github Pages and Cloudflare, while on Netlify the times as 2 times longer with a more unreliable time for the latter.