Hacker News new | ask | show | jobs
by amenghra 25 days ago
Using a Cloudflare Worker to implement a web 0.9 feature
3 comments

Yeah seems overkill. Back in the day (1990s) you'd use a serverless script in the "Personal HomePage" language.

These days you could do this in client side JS, mayhe fetch the static list from a Gitgub blob or one of the sites in the group.

Pardon, how do you do a serverless php page?
Well, shared hosts let you upload the PHP file via FTP (or secure FTP if lucky!) to ~/public_html and serve it without administering a server.
That’s still running on a server.

(Sorry, I guess “serverless” is not a buzzword I’ll ever understand)

Serverless is just a server that has been abstracted away enough by magical APIs to let you (partially) ignore the underlying physical machines.
Yeah I was being tounge in cheek calling a PHP script serverless because technically it is (no need to install stuff and configure a server) but it predates the hype days. Like calling a word doc "nosql"
This should be just a static page… Cloudflare pages are perfect for this. All updating could be done in the repo by special scripts from MD or some other files.
Please, just don't use Cloudflare anything. They are an evil monopoly akin to Google, or the Microsoft of yesterdecade. They MITM about a third of all web traffic and block humans arbitrarily.
Why not. It's easy.