Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Serve Stale Content While Revalidating (Not Working as Expected)

> This is the only thing that I was not able to figure out.

For good reason, because (at the last time I tried this earlier this year) Cloudflare documents stale-while-revalidate as if it's supported [1], but it isn't [2], [3].

Cloudflare instead has a different behaviour [4], [5] which helps in some circumstances but not all.

I use Fastly's free CDN plan to get round this.

1. https://developers.cloudflare.com/cache/concepts/revalidatio...

2. https://community.cloudflare.com/t/support-for-stale-while-r...

3. https://community.cloudflare.com/t/when-will-cloudflare-full...

4. https://kerkour.com/cloudflare-stale-while-revalidate

5. https://stackoverflow.com/questions/48124415/does-cloudflare...



Ended up ditching Cloudflare for this use case https://pillser.com/engineering/2024-08-26-speeding-up-your-...


Fastly is trash and nowhere near as good as CF.


I think CF is trash, at least in the free version.

Why you should never use Cloudflare. It causes problems, is bad for SEO and a Spyware tool.

https://expatcircle.com/cms/why-you-should-never-use-cloudfl...

If it is free, then you are the product. If you need a CDN, there are cheap solutions out there. And Pics should always be delivered from your domain, not from CF.


> If it is free, then you are the product

I use Linux and it’s free. Am I the product?


Good point. But Linux is not a for-profit enterprise. Sex is free too. At least it is better when it is free.


For the buyer or the seller? The buyer has no incentive to make it good for the seller. The seller has every incentive to make it good for the buyer.

How much experience buying and selling it and getting it to free do you have to make that claim? Can you link to any peer reviewed studies?


CF doesn't use you as the product, a la Facebook, Instagram or Google. They try to lure you in with the free tier, and then upsell.

That's a bussiness model that you might like or not, but almost everyone is doing that one way or the other (first X months are free, free tiers, free Comunity Editions, etc.)


Fastly's product is not trash.

Fastly's ability to sensibly price their product, market their product, and stop losing money hand over fist is trash.

And I write this as someone who has been snubbed by Fastly multiple times.

Squashed between Akamai and Cloudflare, I will be sorry to see them go.


Care to explain why?




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: