Jason Barry
Jason Barry
CDCloudflare Developers
Created by Jason Barry on 1/28/2025 in #workers-and-pages-discussions
the docs say that `cf.cacheKey` is only
another symptom is that when I purge cache in my dashboard, it doesn't seem to take effect. I purge cache (by tag or everything), wait 1-2 minutes, and then when I make a fetch in my outbound worker with a cacheKey present, cf-cache-status still comes back as HIT
6 replies
CDCloudflare Developers
Created by Jason Barry on 1/28/2025 in #workers-and-pages-discussions
the docs say that `cf.cacheKey` is only
yeah totally! I read that too, so I moved the cf field to the outbound worker. and I see cf-cache-status come back as HIT with super fast latency. however, when I provide a custom cacheKey I notice that it always pulls from the same (wrong) resource
6 replies
CDCloudflare Developers
Created by Jason Barry on 1/28/2025 in #workers-and-pages-discussions
the docs say that `cf.cacheKey` is only
or perhaps because I'm setting it in an Outbound Worker via Workers for Platforms?
6 replies
CDCloudflare Developers
Created by Hard@Work on 9/19/2024 in #queues
It returns an object back with which
yes, got it! thank you kindly!
3 replies
CDCloudflare Developers
Created by Hard@Work on 9/19/2024 in #queues
It returns an object back with which
I'm a little confused, do you mean using the API to ack/retry using https://developers.cloudflare.com/api/operations/queue-v2-messages-ack ? I can't call the methods directly on the message b/c the messages are getting passed into the user worker like so:
worker.fetch('http://worker/message', {
method: "POST",
body: JSON.stringify({ messages }),
});
worker.fetch('http://worker/message', {
method: "POST",
body: JSON.stringify({ messages }),
});
3 replies