Skip to content

Commit a4715ba

Browse files
committed
Updates after review
1 parent 77b80b4 commit a4715ba

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/content/docs/cache/how-to/cache-keys.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ Be aware that changes in the SSL setting can lead to cache invalidation when usi
6363

6464
Understanding how $scheme interacts with your caching configuration is essential when modifying SSL modes to avoid unexpected cache behavior.
6565

66-
#### Visitor scheme vs Origin scheme in Cache Keys
67-
68-
Cloudflare treats `$scheme` differently depending on the cache key type:
69-
70-
* Default Cache Key: `$scheme` refers to the origin scheme — the protocol Cloudflare uses to connect to your origin server (for example, HTTP or HTTPS). This means SSL mode changes (for example, Flexible → Full) change the cache key, triggering a cache bust.
71-
72-
* Custom Cache Key: `$scheme` instead reflects the visitor's scheme — the protocol used by the client making the request to Cloudflare. As a result, SSL mode changes do not affect the cache key in custom configurations unless explicitly included.
73-
7466
### Cache Level: Ignore Query String
7567

7668
A [Cache Level](/cache/how-to/set-caching-levels/) of Ignore Query String creates a Cache Key that includes all the elements in the default cache key, except for the query string in the URI that is no longer included. For instance, a request for `http://example.com/file.jpg?something=123` and a request for `http://example.com/file.jpg?something=789` will have the same cache key, in this case.

0 commit comments

Comments
 (0)