DEV Community

Discussion on: Switching the lights on: Hugo vs Hugo config files

Collapse
 
erebos-manannan profile image
Erebos Manannán

You don't seem to explain any reason for using CloudFlare on top of GitHub pages. Care to elaborate?

Collapse
 
hugo__df profile image
Hugo Di Francesco
  • HTTPS (pretty sure it didn't use to be a thing with custom domains on GitHub pages)
  • CDN
  • DNS
Collapse
 
erebos-manannan profile image
Erebos Manannán

Yea, nowadays GitHub Pages supports HTTPS with custom domains: blog.github.com/2018-05-01-github-...

DNS is really irrelevant to GitHub - you can handle it anywhere. I generally use e.g. Google Cloud Platform/Azure/AWS's DNS capabilities as they're super cheap and convenient.

And a CDN is probably not going to make a massive difference to your GitHub Pages -website - not sure what you're hosting though hehe.

Anyway, interesting to hear your reasoning.

Thread Thread
 
hugo__df profile image
Hugo Di Francesco

You're right for most of the above points, I like cloudflare to do almost application level stuff (eg. domain redirect codewithhugo.com/the-step-by-step-...) and to be able to set caching policy for assets (GH pages doesn't allow that).

It's not crucial but it's been quite useful to get some stuff done.