Using cache in worker

Hello everyone. I'm trying to build a worker to cache POST requests, but realized that cache can only work in a worker deployed on a custom domain. Is there a workaround for this? Our DNS is not on Cloudflare. Thanks! My code is attached
2 Replies
kian
kian13mo ago
Cache won't work on workers.dev, there is no workaround for that unfortunately. You could probably use Cloudflare Pages (and Functions) which will let you setup the project under a subdomain using a CNAME.
Alek
AlekOP13mo ago
Thanks! @kian
Want results from more Discord servers?
Add your server