Background of the issue:
I am trying to fix Batcache on my site hidden link. Batcache is broken because the below cookie session is set on the site, which breaks caching and prevents it from speeding up the website. The cookies were set by the woocommerce-multilingual plugin. Here are the cookies: set-cookie: wcml_client_currency=AED; expires=Sat, 20 Jul 2024 10:42:23 GMT; Max-Age=172800; path=/; secure set-cookie: wcml_client_currency_language=en; expires=Sat, 20 Jul 2024 10:42:23 GMT; Max-Age=172800; path=/; secure. I need to change the plugin settings to set the cookie only if/when needed or disable the cookie with any filter or code.
Symptoms:
Batcache is broken on the site due to cookie sessions set by the woocommerce-multilingual plugin, which breaks caching.
Questions:
How can I change the plugin settings to set the cookie only if/when needed?
Is it possible to disable the cookie with any filter or code?
Okay but one thing
set-cookie: wcml_client_currency
wcml_client_currency_language
This is coming from wcml plugin of wpml. So we have any option to disabled it or set the cookie only if/when needed?. Batcache is not working due to set this cookie. That is the issue.
We need to speedup our website with cache working