From 7adaaaf652505de97553f9ba328dd32f1ff99054 Mon Sep 17 00:00:00 2001 From: Sergey Gruntovsky Date: Tue, 7 Jan 2025 12:52:09 +0300 Subject: [PATCH] `cl-bypass-cache` is no longer supported --- docs/features/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/features/README.md b/docs/features/README.md index 792f4254..b1955732 100644 --- a/docs/features/README.md +++ b/docs/features/README.md @@ -564,9 +564,7 @@ According to the [Cloudflare documentation](https://developers.cloudflare.com/su Level **“Cache Everything”** – Treats all content as static and caches all file types beyond the [Cloudflare default cached content](https://developers.cloudflare.com/cache/concepts/default-cache-behavior/). Respects cache headers from the origin web server unless **Edge Cache TTL** is also set in the Page Rule. When combined with an **Edge Cache TTL** > 0, **Cache Everything** removes cookies from the origin web server response. ::: -Setting Edge Cache TTL along with the Cache Everything option is not recommended though it should not create any issues now because Anti-Bot Challenge is already disabled for Cloudflare IPs by default. It is possible to enable Anti-Bot Challenge as long as you either: -* don’t use [“Edge Cache TTL”](https://developers.cloudflare.com/cache/about/edge-browser-cache-ttl/#edge-cache-ttl) + [“Cache Everything”](https://developers.cloudflare.com/cache/how-to/create-page-rules/#cache-everything) in Cloudflare -* or use “Edge Cache TTL” but add a page rule that would prevent Cloudflare from caching pages with a cookie `cl-bypass-cache: yes` ([“Bypass Cache on Cookie”](https://developers.cloudflare.com/support/page-rules/understanding-and-configuring-cloudflare-page-rules-page-rules-tutorial/#bypass-cache-on-cookie-setting)) +Setting Edge Cache TTL along with the Cache Everything option is not recommended though it should not create any issues now because Anti-Bot Challenge is already disabled for Cloudflare IPs by default. It is possible to enable Anti-Bot Challenge as long as you don’t use [“Edge Cache TTL”](https://developers.cloudflare.com/cache/about/edge-browser-cache-ttl/#edge-cache-ttl) + [“Cache Everything”](https://developers.cloudflare.com/cache/how-to/create-page-rules/#cache-everything) in Cloudflare. 1. Edit the file `/etc/imunify360-webshield/wscheck.conf` 2. Set `cloudflare_captcha on;`