News for hackers. Stuff that matters.
Re:Speeding Up Your Website Using Cloudflare Cache by pbowyer on Sunday August 25, 2024 @03:50PM (#41350644)
> 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...

Re:Speeding Up Your Website Using Cloudflare Cache by bosch_mind on Sunday August 25, 2024 @05:45PM (#41351738)
Fastly is trash and nowhere near as good as CF.
Re:Speeding Up Your Website Using Cloudflare Cache by aetimmes on Sunday August 25, 2024 @08:07PM (#41352675)
Care to explain why?
Re:Speeding Up Your Website Using Cloudflare Cache by Beijinger on Sunday August 25, 2024 @06:13PM (#41351961)
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.

Re:Speeding Up Your Website Using Cloudflare Cache by brookst on Sunday August 25, 2024 @07:19PM (#41352401)
> If it is free, then you are the product

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

Re:Speeding Up Your Website Using Cloudflare Cache by Beijinger on Sunday August 25, 2024 @07:27PM (#41352458)
Good point. But Linux is not a for-profit enterprise. Sex is free too. At least it is better when it is free.
Re:Speeding Up Your Website Using Cloudflare Cache by fragmede on Sunday August 25, 2024 @07:39PM (#41352536)
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?

Re:Speeding Up Your Website Using Cloudflare Cache by otherme123 on Monday August 26, 2024 @05:39AM (#41355466)
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.)

Re:Speeding Up Your Website Using Cloudflare Cache by pbowyer on Monday August 26, 2024 @07:46AM (#41356222)
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.

Re:Speeding Up Your Website Using Cloudflare Cache by lilouartz on Monday August 26, 2024 @04:03AM (#41354968)
Ended up ditching Cloudflare for this use case https://pillser.com/engineering/2024-08-26-speeding-up-your-...