ryanbadger
CDCloudflare Developers
•Created by ryanbadger on 1/6/2024 in #general-help
Cloudflare Images - Overpaying?
I'm using Cloudflare to resize images, but I'm seeing high usage, ~20k resizes per day. This seems like a lot, and I;m wondering if I'm overpaying ($100+ per month for images alone)
Shouldn't images be resized just once, then cached indefinitely?
I'm also unsure about the "Cloudflare Images" pricing page, there's 3 plans, $5, $10 & $50/mo, I'm on the $5/mo plan, but then paying $100+ for resizes. The $10/mo plan mentions "500,000 images" does it mean resizes? or just image requests?
21 replies
CDCloudflare Developers
•Created by ryanbadger on 11/19/2023 in #general-help
Caching by headers?
Hi, is it possible to cache pages based on the response headers or similar?
We have some "static" pages on our site that we'd like to cache in Cloudflare, but we don't know the URLs (as we support custom CNAMEs) so I'm struggling to find a way to "Cache everything" without using Page Rules?
I tried using a worker, but I couldn't seem to get that working either...
115 replies
CDCloudflare Developers
•Created by ryanbadger on 11/9/2023 in #general-help
SSL for SaaS if users are already on Cloudflare?
We're trying to automate the flow for our customers to connect their own domain name to our platform, for which we use "SSL for SaaS" with Cloudflare.
Following this article: https://blog.cloudflare.com/introducing-ssl-for-saas/ we use the dig command ($ dig CNAME +short support.yourcustomer.site) to verify that our users have correctly added the CNAME.
The problem we're facing, is that if our users are already using Cloudflare, this command returns nothing. We also cannot scan their DNS as CF converts CNAMEs to CF's own IPS, so we're struggling to figure out how to verify the DNS have been setup correctly before we make a request to the CF API to generate an SSL for them.
Any suggestions for this?
26 replies
CDCloudflare Developers
•Created by ryanbadger on 7/18/2023 in #general-help
Card expires, bill 5 days overdue, ALL services on ALL zones disabled and cannot reactivate.
My bill was 5 days late as my card expired and I was away for a long weekend, this morning every service on CF was downgraded to free and I cannot upgrade. Please help.
8 replies
CDCloudflare Developers
•Created by ryanbadger on 3/31/2023 in #workers-help
Worker preview/console doesn't work
2 replies
CDCloudflare Developers
•Created by ryanbadger on 3/30/2023 in #workers-help
is it possible to clear cached keys via workers using a wildcard or regex type match?
E.G - can I purge all cache keys that contain the string: "sr_live_pk_0ac696797e14d49ca01f523ffb8d962e670f"
if the cached request looked like this: https://api.shoprocket.io/v1/stores/sr_live_pk_0ac696797e14d49ca01f523ffb8d962e670f/products?search=&sort=product_order&page=1&limit=100
1 replies