Skip to content

Commit ba73d16

Browse files
Update src/content/docs/cache/interaction-cloudflare-products/workers.mdx
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
1 parent 702760c commit ba73d16

File tree

1 file changed

+1
-1
lines changed
  • src/content/docs/cache/interaction-cloudflare-products

1 file changed

+1
-1
lines changed

src/content/docs/cache/interaction-cloudflare-products/workers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The diagram below illustrates a common interaction flow between Workers and Cach
1717

1818
1. A User (a) Requests a URI, and this request is directed to a Worker. The Worker can then interact with the request, either requesting the content further upstream using (b) fetch() or sending a (f) Response back to the User.
1919
2. If the content is cached, the Cache will send a (e) Response back to the Worker which can now interact with the response before sending a (f) Response back to the user.
20-
3. When using cache rules with Workers, the cache rule should not be set based on the user url/host (A). Instead, the rule must match the properties of the URL in the fetch() (B) request — such as headers, hostname, or URL path — otherwise, the rule will not be applied.
20+
3. When using cache rules with Workers, the cache rule should not be set based on the user URL/host (A). Instead, the rule must match the properties of the URL in the fetch() (B) request — such as headers, hostname, or URL path — otherwise, the rule will not be applied.
2121

2222
Here are a few examples of how Workers can be used to customize cache behavior:
2323

0 commit comments

Comments
 (0)