You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workers/reference/how-the-cache-works.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The Cache API is not compatible with tiered caching. To take advantage of tiered
35
35
36
36
When using single-file purge to purge assets cached by a Worker, make sure not to purge the end user URL. Instead, purge the URL that is in the `fetch` request. For example, you have a Worker that runs on `https://example.com/hello` and this Worker makes a `fetch` request to `https://notexample.com/hello`.
37
37
38
-
As far as cache is concerned, the asset in the `fetch` request (`https://notexample.com/hello`) is the asset that is cached (`https://notexample.com/hello`). To purge it, you need to purge `https://notexample.com/hello`.
38
+
As far as cache is concerned, the asset in the `fetch` request (`https://notexample.com/hello`) is the asset that is cached. To purge it, you need to purge `https://notexample.com/hello`.
39
39
40
40
Purging the end user URL, `https://example.com/hello`, will not work because that is not the URL that cache sees. You need to confirm in your Worker which URL you are actually fetching, so you can purge the correct asset.
description: Bas Westerbaan is Cloudflare’s Research Lead on Post-Quantum efforts. His work ranges from cryptographic implementation and standardization, to driving large-scale experiment and subsequent deployment.
316
+
description: Bas Westerbaan is Cloudflare’s Research Lead on Post-Quantum efforts. His work ranges from cryptographic implementation and standardization, to driving large-scale experiment and subsequent deployment.
317
317
tags: [SSL]
318
318
languages: [TypeScript]
319
319
products: [SSL]
@@ -322,7 +322,7 @@ entries:
322
322
updated: 2024-11-14
323
323
difficulty: Beginner
324
324
content_type: 🎥 Video
325
-
pcx_content_type: tutorial
325
+
pcx_content_type: tutorial
326
326
- link: https://youtu.be/xu4Wb-IppmM
327
327
title: OpenAI Relay Server on Cloudflare Workers
328
328
description: In this video, Craig Dennis walks you through the deployment of OpenAI's relay server to use with their realtime API.
0 commit comments