Matt
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
totally makes sense, ty
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
Ticket #3081925! No major rush! Thank you so much
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
appreciate you taking a look too
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
makes sense-- there's docs in the startup plan for how to get extra features enabled, I'm reaching out per those guidelines now
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
We just upgraded today through the startup program
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
I didn't request it specifically yet, let me try 🙂
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
Oh I see the screenshot now... Header value of isn't appearing. I wonder if we need something special enabled on the account. For me it just has IP and IP with Nat
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
How do I specify I want to use x-forwarded-for to group requests?
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
Looks like default is just to match on it
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
I'm a bit lost on how to structure this counter- how can I "bucket" requests by x-forwarded-for?
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
19 replies
CDCloudflare Developers
•Created by Matt on 12/22/2023 in #general-help
No way to rate limit requests from Vercel without enterprise?!
We were able to get enterprise rolling
19 replies
CDCloudflare Developers
•Created by Matt on 11/20/2023 in #general-help
Serve fallback image instead of 404 from r2
(ty for looking by the way)
31 replies
CDCloudflare Developers
•Created by Matt on 11/20/2023 in #general-help
Serve fallback image instead of 404 from r2
Not necessarily, but it's not a deal breaker either way
31 replies
CDCloudflare Developers
•Created by Matt on 11/20/2023 in #general-help
Serve fallback image instead of 404 from r2
Since these are public user avatars it's ok (intentional) to be publicly accessible, but mainly concerned about cost and perf. This worker will see millions of requests a day next month and want to brace myself 😂
31 replies
CDCloudflare Developers
•Created by Matt on 11/20/2023 in #general-help
Serve fallback image instead of 404 from r2
That said I'm open to learning if you think it would be value add
31 replies
CDCloudflare Developers
•Created by Matt on 11/20/2023 in #general-help
Serve fallback image instead of 404 from r2
the simple answer is I haven't (yet) taken the time to understand them. That's probably the better call, but to get things going quickly I was basing this on https://www.mickaelvieira.com/blog/2020/01/27/custom-404-page-with-cloudflare-workers.html
we have no other workers and this was just my quick and dirty attempt to get custom 404 responses
31 replies
CDCloudflare Developers
•Created by Matt on 11/20/2023 in #general-help
Serve fallback image instead of 404 from r2
This is my very naive worker implementation for serving avatars with a fallback. Is there a material perf/cost penalty to just using fetch vs getting from the bucket directly? (FWIW both the bucket itself and the worker have aggressive cache rules)
31 replies
CDCloudflare Developers
•Created by Matt on 11/20/2023 in #general-help
Serve fallback image instead of 404 from r2
31 replies