Background of the issue:
I just discovered that in the header of all pages of my site there is a "no-store,no-cache,must-revalidate" code that is interfering with caching from my host. I found an old support article that another user had the same problem. But the article is closed without explaining in detail how the problem was solved. Could you review the old article and let me know how to solve this problem? If possible could you ask Lucas Vidal de Andrade to look at this ticket as he is aware of some special details about my website from past tickets and would save time.
Symptoms:
WPML is causing no-store,no-cache,must-revalidate errors in my header
Questions:
Could you review the old article and let me know how to solve this problem?
Could you ask Lucas Vidal de Andrade to look at this ticket as he is aware of some special details about my website from past tickets and would save time?
What exactly is happening? Please describe as accurately as possible: 1. what is the issue 2. what is the expected behavior and 3. how you identified that it is being caused by WPML. Please note that there are 3 answers necessary here, please answer all of them.
This way, I can better understand what's going on 🙂
1. What is the issue - If you use developer tools from any browser on the website HellenicMoon.com, you will see that every page (at least ever page I ever randomly tried) has this in the cache control info: no-store,no-cache,must-revalidate (see attachment).
A developer told me that this code is blocking any caching from happening on the site, which should be happening automatically from the Bluehost Cloud CDN. So effectively CDN and caching is not working on my site do to this code. I suspect that this problem is related to the old problem we had.
2. What is the expected behavior - It should not have "no-store,no-cache,must-revalidate" in the Cache Control section, so that normal caching can happen.
3. How you identified that it is being caused by WPML - Bluehost support suggested the problem is a plugin, and they identified WPML as one that could cause this kind of problem. Considering the problem we had before with WPML that we could not solve, it seems likely that it is true. Then seeing this past support ticket with exactly the same problem as me (apart from which CDN they use), I really think the problem is linked to WPML:
However, I tried turning off all the WPML plugins but the "no-store,no-cache,must-revalidate" code stayed on the pages. But considering the other user also identified WPML as the problem, I still think this problem is linked to WPML. Maybe solving this will also solve the old problem we had (which still exists).
Thanks for sharing the details. I understand the issue better know.
In theory, WPML cannot block or change any behavior on your website in your website while it's deactivated,
Please ensure that there's no other plugin, or theme causing that. To verify it, please disable all plugins, change the theme to a default WP one and check again the cache control.
In the end I decided to change host, so I transferred over to Rocket.Net and my site is being propagated as we speak. Probably later today or tomorrow it will be fully over. What I need from you now is to help me make sure that WPML is working correctly on the new site.
For starters the old problem we had with the language menus seems to be gone! So now please just see if there is anything you need to do from your side as we switch the host and the new one will become my primary.
For the moment I indicated to WPML that the new site was just a temporary copy, but now I want it to become the new standard. What do we need to do?
Thanks,
Nick
New threads created by Lucas Vidal de Andrade and linked to this one are listed below: