Skip to content

Commit 5867f74

Browse files
Skip cache on CSRF token
1 parent 97aca3e commit 5867f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudflare/workers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// applied after this worker runs.
44

55
// When any cookie in this list is present in the request, cache will be skipped
6-
const PRIVATE_COOKIES = ['sessionid'];
6+
const PRIVATE_COOKIES = ['sessionid', 'csrftoken'];
77

88
// These querystring keys are stripped from the request as they are generally not
99
// needed by the origin.

0 commit comments

Comments
 (0)