mirror of
https://github.com/g0ldyy/comet.git
synced 2026-01-12 01:16:12 +01:00
feat: remove manifest from cloudflare cache guide
This commit is contained in:
@@ -21,20 +21,11 @@ Cache the configuration page.
|
|||||||
* **Edge TTL**: Use cache-control header if present (first option)
|
* **Edge TTL**: Use cache-control header if present (first option)
|
||||||
* **Browser TTL**: Respect origin
|
* **Browser TTL**: Respect origin
|
||||||
|
|
||||||
## 3. Manifest (Cache Rule)
|
## 3. Tiered Cache
|
||||||
Cache manifest.json responses.
|
|
||||||
|
|
||||||
* **Rule Name**: Manifest
|
|
||||||
* **Expression**: `(ends_with(http.request.uri.path, "/manifest.json"))`
|
|
||||||
* **Action**: Eligible for Cache
|
|
||||||
* **Edge TTL**: Use cache-control header if present (first option)
|
|
||||||
* **Browser TTL**: Respect origin
|
|
||||||
|
|
||||||
## 4. Tiered Cache
|
|
||||||
Enable **Tiered Cache** in **Caching > Tiered Cache**.
|
Enable **Tiered Cache** in **Caching > Tiered Cache**.
|
||||||
This minimizes requests to your origin by checking other Cloudflare datacenters first.
|
This minimizes requests to your origin by checking other Cloudflare datacenters first.
|
||||||
|
|
||||||
## 5. Network Optimizations
|
## 4. Network Optimizations
|
||||||
In **Speed > Protocol**:
|
In **Speed > Protocol**:
|
||||||
|
|
||||||
* **HTTP/3 (QUIC)**: On (faster connections, especially on mobile)
|
* **HTTP/3 (QUIC)**: On (faster connections, especially on mobile)
|
||||||
|
|||||||
Reference in New Issue
Block a user