Plugin making multiple cookies and not working with wprocket preloading
-
wprocket preloading does not work with plugin enabled because of multiple cookies made by plugin. This is what wprocket support wrote me:
Aside from confirming that the WP Rocket aspect is working as expected, it looks to me as though there might be a possible incompatibility between WooCommerce Multilingual & Multicurrency and the WPML option to have a “different domain by language”, because when I accessed another of the domains (in this case, gstarcad.mk), there are two instances of each cookie. And that apparently prevents WP Rocket from being able to generate the cookie-specific cache files — I had to delete the cookies from the first site and then refresh my browser, leaving only the MK cookies set, and only then the cache file was generated.So if you have a lot of visitors who land on one of the language domains and then switch to another (perhaps using the country flag switcher), then that’s likely to prevent them from being served a cached page and / or prevent WP Rocket from creating one for any subsequent domains after the first one.
You would need to work with the WPML and WooCommerce Multilingual & Multicurrency teams to find out how to prevent multiple instances of the dynamic cookies from being set in the browser, so there will only be one set of cookies instead (and thus, WP Rocket will be able to create the associated cache file
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.