Creating cache key in Worker

I want to use worker Custom Cache Key to cache URL like below
Because these urls of mine keep getting bypassed

But I don’t know how to write the code, hope to get functional code like you guys. Thanks a lot

You’re on an Enterprise plan?

If so, here’s some example code:

1 Like

I use the professional plan

the professional plan

Sorry, it’s Enterprise only. I’ll edit my earlier response.


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.