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.
Ask HN: Cheapest/easiest way to host a static site?
191–200 of 507 posts
Re: Ask HN: Cheapest/easiest way to host a static site?
#192Check 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/
Re: Ask HN: Cheapest/easiest way to host a static site?
#193Re: Ask HN: Cheapest/easiest way to host a static site?
#194Re: Ask HN: Cheapest/easiest way to host a static site?
#195Cloudflare 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..
Re: Ask HN: Cheapest/easiest way to host a static site?
#196- 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?
#197I'd say Digital Ocean's newish Apps platform. Static sites are free and they can run a build step for you (still free).
Re: Ask HN: Cheapest/easiest way to host a static site?
#198I'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.
For everything else it expects your SPA to handle it.
Re: Ask HN: Cheapest/easiest way to host a static site?
#199Just edit your index.html locally and it's pushed when your Dropbox syncs.
Re: Ask HN: Cheapest/easiest way to host a static site?
#200> 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.