Live data from Hacker News

Static site hosting hurdles

notes.volution.ro

1–10 of 183 posts

Re: Static site hosting hurdles

#2
Sobering, eye-opening, and encouraging in one swell foop. I am bookmarking & backing this page up because it coalesces many many issues that have been plaguing me with static site generation.

Well done.

Re: Static site hosting hurdles

#3
It felt odd to see a doc this comprehensive on static site hosting with no mention of AWS S3/Cloudfront, given how easy it is to push content to an S3 bucket (either manually or via the CI pipeline of your choosing) and then serve it up either direct-from-S3 or via Cloudfront.

But then it turns out that this is actually pushing folks towards some new paradigm of static cached HTTP responses instead of files. It pitches this as an attempt to “standardize the hosting side of static sites”, which doesn’t pass muster for me. We’ve already standardized the hosting side of static sites by using the file system. Shifting to a new storage format besides “HTML on disk” doesn’t unify anything, nor does it seem desirable to have fewer options for serving content.

Re: Static site hosting hurdles

#4
post #3

It felt odd to see a doc this comprehensive on static site hosting with no mention of AWS S3/Cloudfront, given how easy it is to push content to an S3 bucket (either manually or via the CI pipeline of your choosing) and then serve it up either direct-from-S3 or via Cloudfront. But then it turns out that this is actually pushing folks towards some new paradigm of static cached HTTP responses instead of files. It pitch…

S3 is not competitive. Here:

https://neocities.org/supporter

Re: Static site hosting hurdles

#5
I think these issues only exist if you decided to host the site yourself, I did and currently optimizing Caddy settings, but kawipiko surely seems interesting, however I use caddy as a reverse proxy too, so I can't switch.

If you just to chose to use Cloudflare Pages you will get the best settings, and performance by default, its effortless.

I self host because Cloudflare already has enough control on the internet, it serves more than 20% of the web!

https://w3techs.com/technologies/history_overview/web_server

Re: Static site hosting hurdles

#6
Ok so let's make a UI that asks for your credit card and which host you want... This has nothing to do with the web servers IMO. Even if we give people the configuration done there will still be other issues. It has to be as easy as pressing one "go online" button, really.

Re: Static site hosting hurdles

#7
post #4
post #3

It felt odd to see a doc this comprehensive on static site hosting with no mention of AWS S3/Cloudfront, given how easy it is to push content to an S3 bucket (either manually or via the CI pipeline of your choosing) and then serve it up either direct-from-S3 or via Cloudfront. But then it turns out that this is actually pushing folks towards some new paradigm of static cached HTTP responses instead of files. It pitch…

S3 is not competitive. Here: https://neocities.org/supporter

Competitive by what metric? My site lives more or less entirely within the AWS free tier. I think my total AWS bill is around $20/mo, and 80% of that is for the stupid number of domain names I’m hosting zones for.

Re: Static site hosting hurdles

#8
post #3

It felt odd to see a doc this comprehensive on static site hosting with no mention of AWS S3/Cloudfront, given how easy it is to push content to an S3 bucket (either manually or via the CI pipeline of your choosing) and then serve it up either direct-from-S3 or via Cloudfront. But then it turns out that this is actually pushing folks towards some new paradigm of static cached HTTP responses instead of files. It pitch…

>We’ve already standardized the hosting side of static sites by using the file system.

Worth noting that the incoming younger generations can't and don't into file systems.[1]

Yes, anyone who wants to be a webmaster should do their homework, but that is besides the point.

We are probably the last generation who can be ubiquitously assumed to have an understanding of files and folders/directories in a computer.

[1]: https://www.theverge.com/22684730/students-file-folder-direc...

Re: Static site hosting hurdles

#10
Just because there are a lot of options, doesn't make something complicated. Hosting a static site - arguably the simplest kind of site - could be easily done with any of the options listed and derided at the start of the article.
Post reply on HN