Worker Mode Cookies
-
Hi there!
I have recently made the switch over from using this plugin with Page Rules, to using Cloudflare Workers instead (due to a plugin conflict). So far it has worked great in sorting that issue and everything seems to be running really smoothly.
However, I did have a question as to whether I needed to add anything to the ‘Bypass cache for the following cookies’ section on wordpress. Presumably, the pages I entered in the “Prevent the following URIs to be cached” section are still in action here, so I am wondering exactly what I should add for best results.
I note that in other Cloudflare workers scripts, there are cookies stated at the top of the code, for example, this github entry:
https://github.com/pmeenan/cf-workers/blob/master/cache-bypass-on-cookie/cache-bypass-on-cookie.js
Here, they have specified:
const BYPASS_COOKIE_PREFIXES = [
“wp-“,
“wordpress”,
“comment_”,
“woocommerce_”
];`Does your own worker script include something similar to this? Or is it intentionally left blank so that users can customize? The cookies listed in the github code seem to be sensible options and I would like to ensure I have those bypassed, but I am not sure if the worker that your plugin automatically adds is already is doing this.
Any advice you can offer with this would be much appreciated! ??
- The topic ‘Worker Mode Cookies’ is closed to new replies.