Dynamic Cookies Cache in WPRocket

Using WP Rocket plugin in Wordpress I get a warning saying:

You are using “Dynamic Cookies Cache”. Cloudflare APO is not yet compatible with that feature.
You should either disable Cloudflare APO or check with the theme/plugin requiring the use of “Dynamic Cookies Cache” developers for an alternative way to be page-cache friendly.

Specifically in my setup WP Rocket is caching WPML’s (translation plugin) geolocation and currency switcher using dynamic cookie cache.

How do I configure Cloudflare (I have the PRO license) to support this?


Does WPML allow you to change from cookie-based to URL based? As in different paths or query strings for each language+currency combination? That would be the best solution to get what you want out of APO.