Is there an Cloudfare worker equivalent of nginx proxy_cache_lock?

For Workers & Pages, what is the name of the domain?

example.com

What is the error number?

N/A

What is the error message?

N/A

What is the issue or error you’re encountering

Wanting to ensure only one request goes to the backend

What steps have you taken to resolve the issue?

Is there an equivalent to nginx proxy_cache_lock?
I want to be able to reduce multiple requests to a single request and store that in the cache to reduce the computing needs on our backend server.

What are the steps to reproduce the issue?

N/A

Not at all, your best bet would be caching the target asset(s) and prewarm the cache to avoid future concurrent visitors from overloading your site.

You shouldn’t need that. Cloudflare already has that built in:

1 Like