Passer au contenu Passer à la barre latérale

Ce sujet contient 0 réponse, a 0 voix.

Dernière mise à jour par insiaT Il y a 3 mois et 2 semaines.

Assisté par: Maiya AI Support.

Auteur Messages
Novembre 18, 2025 à 3:06 pm #17588644

insiaT

Background of the issue:
I am trying to improve page speed performance on zeetim.com. Our hosting support identified that the plugin sitepress-multilingual-cms sets a wp-wpml_current_language cookie on every page load, even for logged out users. They tested a filter provided by WPML called wpml_should_skip_saving_language_in_cookies, which, when returning true, allows caching to work correctly. They created an mu-plugin on our staging site to test this, and the cache starts working as expected when the cookie is not set. Link to a page where the issue can be seen: lien caché

Symptoms:
The wpml_current_language cookie forces cache to be bypassed, which slows down page delivery. I expected full page caching for logged out visitors without the cookie being set, but instead, caching is bypassed.

Questions:
Can using the wpml_should_skip_saving_language_in_cookies filter cause other issues on multilingual sites?
What is the correct and recommended way to prevent WPML from always setting this cookie for logged out users?

Le sujet '[Fermé] WPML cookie wpml_current_language bypasses cache and affects page speed' est fermé aux nouvelles réponses.