Live data from Hacker News

Cloudflare Pages: Best server tech since CGI-bin?

taras.glek.net

31–40 of 226 posts

Re: Cloudflare Pages: Best server tech since CGI-bin?

#31
post #9

The rest of the industry haven't even started figuring out what Cloudflare Pages Functions + Durable Objects can do. Workers can also send emails for free, and soon you will be able to process them as well with Email Workers. Cloudflare also doesn't charge you for egress either.

We just don't want to support MiTMFlare with our traffic and money.

This should help you then. 200 square feet, only $11.39.

https://www.amazon.com/Reynolds-Wrap-Aluminum-Foil-Square/dp...

Re: Cloudflare Pages: Best server tech since CGI-bin?

#32
post #9

The rest of the industry haven't even started figuring out what Cloudflare Pages Functions + Durable Objects can do. Workers can also send emails for free, and soon you will be able to process them as well with Email Workers. Cloudflare also doesn't charge you for egress either.

We just don't want to support MiTMFlare with our traffic and money.

Cloudflare reports 50% quarter growth year over year, it sounds to me you're in a minuscule minority.

Re: Cloudflare Pages: Best server tech since CGI-bin?

#33
post #9

The rest of the industry haven't even started figuring out what Cloudflare Pages Functions + Durable Objects can do. Workers can also send emails for free, and soon you will be able to process them as well with Email Workers. Cloudflare also doesn't charge you for egress either.

We just don't want to support MiTMFlare with our traffic and money.

I'm always curious how you folks would CDN without SSL termination. Or you know, host anywhere but your own gear if MiTM was a real concern.

Re: Cloudflare Pages: Best server tech since CGI-bin?

#35

I am waiting for the time where we can host WordPress freely with static hosting and workers for admin ui/dynamic content. Otherwise static websites are only for devs.

They have a product for that https://www.cloudflare.com/pg-lp/speed-up-wordpress-with-clo... It caches all pages on Cloudflare and only bypasses Cache on Cookies such as `wp-.|wordpress.|comment_.|wordpress_logged_.` which is used by /wp-admin/ are and when someone posts a comment. This turns your WP into static without doing anything special. Or you can write a custom cache rule for cookies using "Page Rules" or newly introduced "Cache Rules" beta https://developers.cloudflare.com/cache/about/cache-rules/

Also check - a WordPress plugin for static site generation and deployment https://github.com/WP2Static/wp2static

Re: Cloudflare Pages: Best server tech since CGI-bin?

#36
Reminder: Cloudflare's "Worker's Launchpad" application for inaugural cohort approaches

https://www.cloudflare.com/press-releases/2022/1-billion-wor...

Recent thread on Learning Blender 3D has me thinking that a kind of "Blender Mentor" exchange with live zoom critiques & happy hour may be fun ;)

https://news.ycombinator.com/item?id=33273022

Re: Cloudflare Pages: Best server tech since CGI-bin?

#38

Cloudflare Pages and Workers (and similar products) are indeed great but I recently switched over to a plain old free tier Oracle Cloud VM with FastAPI behind Nginx (Docker containers). I use Cloudflare as a proxy for HTTPS/certs. I don't have to think about Cloudflare Worker limitations, can host a Postgres instance, and simply deploy through `git pull` and `docker-compose up`.

Using Fly.io myself, behind Cloudflare. Free container hosting and free Postgres instance both big enough for my needs.

Re: Cloudflare Pages: Best server tech since CGI-bin?

#39
How does using GPT-3 make the types more visible? Feels futuristic but also incomprehensible to me.

> As a shortcut, I used GPT-3 to generate a basic typescript function for me. This let me look at TS type definitions and get a better idea of what’s available so I could get developing.

Re: Cloudflare Pages: Best server tech since CGI-bin?

#40
post #4

I feel like there's a large class of tools in this space now (Vercel, Netlify) that do all of this and more, and this post is less about Cloudflare Pages and more about the (really good) state of static hosting these days? One thing that stuck out was the comment about "Twitter cards", since Vercel/Next now has this built in: https://twitter.com/vercel/status/1579561293069316096

Static hosting combined with server-side dynamic content modification using postgres was the interesting part for me. Static hosting has historically been seen as exactly that, static and immutable. Things like Cloudflare functions/workers can turn static hosting into dynamic content delivery while maintaining (most of) the benefits of static hosting. Granted, this can be done whether the underlying content is hosted…

Can you explain how Cloudflare Workers factor into hosting static pages on Cloudflare Pages vs hosting a React SPA on pages that talks to any other API?

Like are the workers just serving as your backend at that point? Or are they doing something more or different as well?

Post reply on HN