top | item 43771946

(no title)

caboteria | 10 months ago

I'm curious about the pros and cons of Cloudflare pages versus GitHub pages. Given that you're using GH as a repo, would it be simpler to also use it to serve pages?

discuss

order

seanwilson|10 months ago

https://docs.github.com/en/pages/getting-started-with-github...

> GitHub Pages is not intended for or allowed to be used as a free web-hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS).

Not finding a similar mention for Cloudflare... commercial sites are fine there?

semi-extrinsic|10 months ago

The way I understand this is not that Github Pages can't be used for commercial purposes, but that it's not OK for something like ecommerce with many users every minute which generates a lot of load?

So a small company could host a static landing page with generic info and "contact us" etc., and that would be fine, I think?

It also mentions that breaking the rules will result in getting a "polite email suggesting ways to reduce load on Github".

flanbiscuit|10 months ago

So a personal website with a personal blog is ok then.

Curious though how it handles a surge in requests, like from being on the front-page of HN. But many open source projects host their doc pages with Github pages and some of those get a lot of traffic so I'm sure that it's not an issue

ingav|10 months ago

I already have several other projects and DNS managed in Cloudflare, so it made sense to keep everything in one place. GitHub Pages would definitely work too.

igravious|10 months ago

Where in the process do you integrate your custom domain (ingau.me) ???

_joel|10 months ago

If you're using cloudflare already then it makes sense, closer to the edge and all that, plus there's integration to make that all very seamless from gh.