From 820cba2012cb204dcd75abc436df2f2fb781879a Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Tue, 20 Oct 2026 14:54:29 +0100 Subject: [PATCH] Cloudflare Worker: explain why you add the script, in its own section Ported from #115, which is otherwise superseded by #116 and #118. Main had this as a trailing sentence on the "What you get" section, which put the answer to "why am I editing my own HTML?" somewhere nobody would look for it. #115 made it a section of its own, framed for the reader rather than as a note about what changed, and pointed out that Lambda@Edge works the same way. That is better on all three counts, so take it. Its clearer heading for the install step comes too: "Add the Protect script to your pages" rather than "Add the snippet". The troubleshooting anchor that aims at it follows. Not taken: #115 describes the install as one script tag. There are two -- the config block and the bundle -- and the paragraph under the snippet depends on both, so main's wording stays. astro build passes, 417 pages. Re-walked every cloudflare-worker# anchor used anywhere in the site after the heading rename: all resolve. Co-Authored-By: George Oastler Co-Authored-By: Claude Opus 5 (1M context) --- src/content/docs/en/protect-edge/cloudflare-worker.mdx | 6 ++++-- src/content/docs/en/protect-edge/troubleshooting.mdx | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/content/docs/en/protect-edge/cloudflare-worker.mdx b/src/content/docs/en/protect-edge/cloudflare-worker.mdx index 5364090205136..72ea4e1a5ee52 100644 --- a/src/content/docs/en/protect-edge/cloudflare-worker.mdx +++ b/src/content/docs/en/protect-edge/cloudflare-worker.mdx @@ -36,7 +36,9 @@ Versioned tarballs are at `https://packages.prosopo.io/cloud/Prosopo-Cloudflare- Part 2 (client-side) is hosted by us. You add two `