Live data from Hacker News

GitHub Pages – Usage Limits

help.github.com

41–50 of 101 posts

Re: GitHub Pages – Usage Limits

#41
post #22
post #8

Earlier quoted context omitted.

But not for custom domains, sadly.

How would Github "enable" HTTPS for custom domains? Do you want them to provide you with a free certificate for every custom domain you add? On the other hand, if you _do_ possess a cert for your custom domain, then HTTPS works just fine [1]. [1]: https://rishav.js.org

So you're using Cloudflare. Do you have Strict SSL enabled? If not, you don't have authenticated encryption. Hiding the problem is not a solution. If GitHub doesn't let you set a custom certificate, Cloudflare isn't a solution because they don't have a way to pin a certificate rather than relying on CA authentication.

Re: GitHub Pages – Usage Limits

#42
post #10

Is this not a chance for github to make some money? I'm about to launch a site on github pages (simple html site, no backend) and there's a tiny chance of it going viral. If it were to reach the 100k limit for requests I'd be more than happy paying github to keep it hosted there. I already have hosting with the likes of hostgator but they probably couldn't even handle 100k like github would.

For simple static pages (with no backend), I would highly recommend putting them on Nearly Free Speech (NFSN) [1] and using the free tier of CloudFlare in front of it. NFSN charges only for what you use, unlike hosts like hostgator and others that have a monthly payment of a few dollars, at the minimum. Excluding domain costs, it will cost you just pennies a year or a few dollars a year. You can also opt for cheaper bandwidth on the site if you wish.

Without ClouldFlare in front, your costs on NFSN may become quite high depending on the size of the content and number of requests.

[1]: https://www.nearlyfreespeech.net

Re: GitHub Pages – Usage Limits

#43

##### EDIT: The title for this link started as "GitHub Pages sets usage limits", but was changed to "What is GitHub Pages?" by an HN moderator, putting this post (and most of the discussion going on in here) completely out of context. I don't agree with this decision. Most HN readers know what Github Pages is - it's the new usage caps that are the news here. Those caps are new - I've been tracking Github Pages for ye…

Does Neocities support anything like webhooks, so people can do normal workflow of pushing to GitHub and having it be auto-deployed. Or even pushing to a Neocities remote would be fine too. I currently use a Raspberry Pi server that uses webhooks and it's very nice.

Re: GitHub Pages – Usage Limits

#44
Do the "requests" mean page views or http requests? A single page view almost always has multiple http requests.

Github really needs to add https support for custom domains. It's 2016, https should be the default.

Worth mentioning that Gitlab pages supports https for custom domains. I am considering moving my blog to Gitlab. Anyone know about the resource limits and performance under Gitlab pages?

Re: GitHub Pages – Usage Limits

#45
post #33

Earlier quoted context omitted.

There's also surge.sh which is pretty good for static sites. It's essentially Heroku but works with a single HTML file. It's free as well.

is this something like zeit/now?

Yep, looks like it! Looks like there are more limitations with zeit though. At least from the free tier.

Re: GitHub Pages – Usage Limits

#46
post #22
post #8

Earlier quoted context omitted.

But not for custom domains, sadly.

How would Github "enable" HTTPS for custom domains? Do you want them to provide you with a free certificate for every custom domain you add? On the other hand, if you _do_ possess a cert for your custom domain, then HTTPS works just fine [1]. [1]: https://rishav.js.org

> Do you want them to provide you with a free certificate for every custom domain you add?

Various competitors have started doing that after Let's Encrypt was created, so yes?

Re: GitHub Pages – Usage Limits

#47
post #3

If you're getting over the bandwidth limit of 100GB or 100,000 requests per month, you could definitely afford to host your site elsewhere...

Spot on. They're PAGES for info and such, not free WEBSITES. This is why we can't have nice things. People don't accept a no that's free, when clearly they should.

This strikes me as a pretty useless distinction. Github frequently refers them as "sites", i.e. websites, and advertises using them to host Jekyll-generated blogs.

This is why we can have nice things. People always push up against limits as long as they aren't shut down.

Re: GitHub Pages – Usage Limits

#48
post #41
post #22

Earlier quoted context omitted.

How would Github "enable" HTTPS for custom domains? Do you want them to provide you with a free certificate for every custom domain you add? On the other hand, if you _do_ possess a cert for your custom domain, then HTTPS works just fine [1]. [1]: https://rishav.js.org

So you're using Cloudflare. Do you have Strict SSL enabled? If not, you don't have authenticated encryption. Hiding the problem is not a solution. If GitHub doesn't let you set a custom certificate, Cloudflare isn't a solution because they don't have a way to pin a certificate rather than relying on CA authentication.

Yes, I believe you can enforce HTTPS using Cloudflare. I don't know about it because I don't manage the domain, I simply use the subdomain.

Re: GitHub Pages – Usage Limits

#49
post #39

Earlier quoted context omitted.

In fact, they support HTTPS: https://help.github.com/articles/securing-your-github-pages-...

"HTTPS is not supported for GitHub Pages using custom domains." - this is what they mean, they weren't specific.

A lot of people work around that by doing GitHub Pages + Cloudflare. It's free, and it gets you all the additional performance benefits that Cloudflare provides. Would probably also prevent you from running into any of these bandwidth limits.

Re: GitHub Pages – Usage Limits

#50
For comparison, Fastmail provides static website hosting as part of their email service, and it has an 80,000 request or 2GB bandwidth limit per day. 100,000 requests or 100GB per month is extremely low.

Yes, I know that Fastmail is not free, but website hosting isn't their primary service, and I'm using it as a comparison for the amounts allowed.

Post reply on HN