WPML cache issue


I have a Wordpress + Woocommerce + WPML setup.
We are using Varnish cache and we allready have a plugin that excludes all the default Woocommerce URLs that doesn’t need to be cached.
Is there a way to exclude all custom URLs that appeared after I installed the WPML (Word Press Multi Language) plugin?

If the user uses default site language, then the Woocommerce works well, but when the user switches to another language, he gets empty cart or he can’t add any products to his cart etc.

We are using Cloudways hosting + Varnish cache + Breeze cache plugin.



You can define custom Varnish rules to exclude pages from caching. This option is accessible from platform.