Plugins with compatibility based on mandatory cookies
When a specific plugin is active on a website, WP Rocket will automatically apply compatibility based on mandatory cookies.
The purpose of this behavior is to serve visitors with the right version of the cached pages, that is, with the right language, currency, location, etc. You can see more in this article.
List of plugins with automatic compatibility
WP Rocket has integrated compatibility based on mandatory cookies for the following plugins:
- Aelia Currency Switcher
- WooCommerce Currency Converter Widget
- WooCommerce Multilingual
- Mandatory cookie: wcml_client_country - This applies if their Geolocation option is enabled.
- Polylang
- GeoTargetingWP
- Mandatory cookie will start with the geot_rocket_ prefix.
- GDPR
- Mandatory cookies: allowed_cookies and consent_types.
- YITH Multi Currency Switcher for WooCommerce
- Mandatory & Dynamic cookie: they set yith_wcmcs_currency when WP Rocket is detected.
Other plugins and custom implementation
If you're using a plugin that needs to serve critical content based on a mandatory cookie that aren’t on the list of automatically compatible plugins, you can create compatibility with WP Rocket on your site by modifying the helper plugin described in this document.