Paul Wong-Gibbs
CDCloudflare Developers
•Created by Paul Wong-Gibbs on 1/26/2024 in #general-help
CF Images - transformations vs variants
With the new(ish) Images product, I'm confused the difference between Transformations and Variants.
My plan is to use R2 to store images, and use the Images product to sit in front of the R2 to serve them (with flexible variants).
https://developers.cloudflare.com/images/transform-images/
https://developers.cloudflare.com/images/manage-images/create-variants/
4 replies
CDCloudflare Developers
•Created by Paul Wong-Gibbs on 1/15/2024 in #general-help
Cloudflare OAuth / Apps
I think this isn't possible, but it seems there's no way to authenticate an app with Cloudflare via OAuth. i.e. scoped permission so I could fetch request logs for our client(s)'s site. I'm not sure if this was part of the defunct Cloudflare Apps experience or whether there was something different.
I'd really appreciate knowing if this is not possible with the current state of things, or if there's any way of doing this that I've overlooked. (I know Wrangler auths via OAuth, but that'll be an internal integration)
8 replies
CDCloudflare Developers
•Created by Paul Wong-Gibbs on 2/20/2023 in #workers-help
Fetch() cache behaviour
With the following, the
Response
's cf-cache-status
header is BYPASS
. I was expecting to see cache headers for the specified time instead. url
is a URL to a third-party API. I have a change to the data on the third party service, triggered the worker within seconds, and I saw the change immediately - I was expecting it to stay cached. I need to verify how to cache these, as it's implied in the docs it should work.
In case it matters, I am on a paid worker plan. I am using a workers.dev subdomain.
The related website in the account is on the Free plan (I am not using it for a custom domain/route for the worker).
I am testing this via Wrangler.7 replies