Static hosting

Cloudflare Pages vs GitHub Pages

Choose Cloudflare Pages when the site can be static and you want a free plan that does not meter static requests, including a custom domain. Choose GitHub Pages when the site already lives in a public GitHub repo and you will not use Pages as a commercial business site.

Cloudflare Pages

Static hosting with unlimited bandwidth on the free plan

Free for static sites

Strengths

  • Static requests are not metered on the free plan
  • Custom domains and HTTPS are included

Limits

  • Builds per month are capped on the free plan
  • Dynamic work moves onto Workers

Vendor pricing Alternatives

GitHub Pages

Static hosting from a public GitHub repository

Free for public repos

Strengths

  • No extra host to manage for a public repo
  • Deploys from Actions

Limits

  • A private repo needs a paid GitHub plan
  • GitHub does not allow Pages as a commercial business site

Vendor pricing Alternatives