Live data from Hacker News

Ask HN: Cheapest/easiest way to host a static site?

news.ycombinator.com

191–200 of 507 posts

Re: Ask HN: Cheapest/easiest way to host a static site?

#191

I've tried Github pages, Netlify, and Cloudflare Pages. Moved last night to the latter. Github pages is fine, but the extra gh-pages branch is kind of annoying. It's fairly clear (for obvious reasons) that they mainly think about Jekyll users, though I had a Hugo blog there for a while. Netlify sounds great, but in practice I ran into an annoying issue that I couldn't resolve where I had to rerun every automatic buil…

I should warn that bike shedding about this distinction is absolutely not worth your time if you’re reading this and have less than like 100 blog posts written or are running a business on these sites (in which case I think you should pick Netlify). Go write something.

Now you have something to write about.

Re: Ask HN: Cheapest/easiest way to host a static site?

#192
post #36

Check out Vercel! [1] You can deploy for free, with a single command, in a few minutes. Disclaimer: I work at Vercel, happy to answer any questions. [1]: http://vercel.com/

Your pricing page is confusing to me. There is a free tier, and it says "Pay as you grow", but I can't see what the limits on the free tier are or how growth is measured. How does it work?

Re: Ask HN: Cheapest/easiest way to host a static site?

#195
post #169

Cloudflare pages. The only real limit on the free plan is "500 builds / month". Simple is relative, of course, but if you're a developer, you'll likely find it simple, and it does fit your "deploy with a single command" requirement. https://pages.cloudflare.com/ You can also tie it with the free plan for Cloudflare Workers if you have some need beyond static pages.

Cloudflare Pages will reload/redeploy on any git push right (just like Netlify?) ? Just want to be sure before I try it out..

For Github, yes. For anything else, you would have to use their rancher tool and Cloudflare KV store. I imagine they have plans to support other providers, but aren't quite there yet.

Re: Ask HN: Cheapest/easiest way to host a static site?

#196
I use vercel (or previously zeit). The free plan suits my use cases:

- tls

- github integration (although limited to personal accounts only and NOT org -- which is nutsz but I understand the rationale)

- it also comes with cloud functions, and routing which could be very powerful

I think cloudflare pages with workers offer the same set of features PLUS team and github org integration, but so far I like what vercel is offering

Re: Ask HN: Cheapest/easiest way to host a static site?

#198
post #162

I've tried Github pages, Netlify, and Cloudflare Pages. Moved last night to the latter. Github pages is fine, but the extra gh-pages branch is kind of annoying. It's fairly clear (for obvious reasons) that they mainly think about Jekyll users, though I had a Hugo blog there for a while. Netlify sounds great, but in practice I ran into an annoying issue that I couldn't resolve where I had to rerun every automatic buil…

The feature that made me change from github pages to netlify was 302s. Cloudflare pages doesn't seem to have that.

You need to use Cloudflare page rules, which has some limits, but works fine for www. redirects etc.

For everything else it expects your SPA to handle it.

Re: Ask HN: Cheapest/easiest way to host a static site?

#200
post #43

> jumping through AWS hoops I found S3 static hosting to be fairly straightforward. Once set up, a single `aws s3 sync . s3://my-bucket/path` updates the content.

I suggest putting Cloudflare in front of it. I have virtually no AWS costs with S3 that way. If you don't mind that Cloudflare + S3 means it's not fully end to end encrypted.

Can someone advise on if a CF Pages site would be fully end to end encrypted?
Post reply on HN