Skip to content

Commit 607b4f0

Browse files
committed
Add info about cloudflare workers
1 parent 3d3342b commit 607b4f0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/custom-features/modes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ The incident form is embedded in an iframe at https://torchbox.com/incident/. It
2727
The `torchbox-mode` cookie therefore explicitly sets a `domain` value in order to be read by `incident-form.torchbox.com` where the form is hosted.
2828

2929
Note that there isn't any easy way to test the incident form's reading of the `torchbox-mode` cookie locally, as the domains won't match.
30+
31+
## Cloudflare workers
32+
33+
In order to avoid cloudflare caching an incorrect version of a page, we use some custom cloudflare workers to ensure that both versions of the page are cached, and the user's preference respected.

0 commit comments

Comments
 (0)