sdayman
sdayman
CDCloudflare Developers
Created by sadek hossain on 9/13/2024 in #general-help
How to cache nextjs pages using cloudflare for non logged in users only using cookie set or not
>Actually to get a new cookie it needs to hit the origin The login process should never be cached, and that's what should set the cookie. What kind of "hit the origin" do you need in order to set the login cookie?
6 replies
CDCloudflare Developers
Created by sadek hossain on 9/13/2024 in #general-help
How to cache nextjs pages using cloudflare for non logged in users only using cookie set or not
A Cache Rule (and most other rules) can also match on any request Cookie. Contains/Does Not Contain, and then cache or bypass cache. https://developers.cloudflare.com/cache/how-to/cache-rules/settings/
6 replies
CDCloudflare Developers
Created by SerheoReutty on 9/14/2024 in #general-help
it is possible to run purge everything cache via api?
4 replies
CDCloudflare Developers
Created by Bakĉoj | Brandon on 9/8/2024 in #general-discussions
Is it possible to set image quality when
Oh, right. You're using the custom domain URL. I wouldn't call that recursive. It's more like a request and a subrequest.
25 replies
CDCloudflare Developers
Created by Bakĉoj | Brandon on 9/8/2024 in #general-discussions
Is it possible to set image quality when
I don't see why that would stop working. You've allowed it to pull from any origin, and that's what it's doing.
25 replies
CDCloudflare Developers
Created by Bakĉoj | Brandon on 9/8/2024 in #general-discussions
Is it possible to set image quality when
Possibly, if you allow Transformations from any origin.
25 replies
CDCloudflare Developers
Created by Bakĉoj | Brandon on 9/8/2024 in #general-discussions
Is it possible to set image quality when
Same with Format
25 replies
CDCloudflare Developers
Created by Bakĉoj | Brandon on 9/8/2024 in #general-discussions
Is it possible to set image quality when
Darn, you're right. Docs say Quality only applies to Transformations, so not for Flexible Variants: https://developers.cloudflare.com/images/transform-images/transform-via-url/#quality
25 replies
CDCloudflare Developers
Created by Bakĉoj | Brandon on 9/8/2024 in #general-discussions
Is it possible to set image quality when
With Flexible Variants, you can set a Quality parameter: https://developers.cloudflare.com/images/manage-images/enable-flexible-variants/
25 replies