Custom Header Cache Issue

We’ve developed a custom header; however, over the past few days, the public-facing version displays an outdated header that no longer exists.

How can we ensure users consistently see the most current header?

Details:

  • Verified that no external caching mechanisms are active.
  • Cloudflare cache has been purged.
  • Header conditions are correctly assigned, and the default header is configured to display site-wide.
    This is applicable for all languages.

Please refer to the attached screenshots for further context. (Donate Section)

Updated Header:
Header Name: New EN Header Nov 2024

Publicly Visible Header:

Hi @planet,

Thanks for reaching out.
The Admin URL is expecting Email Address instead of username. Can you please check and let us know the credentials for further investigation?

Thanks

Hi @tristup

Can you please try again, we have disabled Auth0 for you to login temporarily.

Hi @tristup

Did you get a chance to troubleshoot this issue?

Hi @tristup

We are still awaiting for your response on this issue, can you please help debug this?

Hi @planet,

A self-reply will push the thread to the bottom of the forum, and that is why you are getting a delayed reply. I verified the Header in the editor and the front end and found both are identical. If you are still facing the same issue, please mention the device, browser name and version, and also the operating system you are using, which will help us to replicate the issue at our end.

I would also suggest you check once by clearing all types of cache including the System Cache from Cornerstone > Settings > System > Clear System Cache and check in the incognito/private mode of the browser.

Thanks

Hi @tristup

Thank you for your response.

I tried clearing all types of cache including the system cache from Cornerstone, still the same issue persists.

When an admin/editor is logged in, they can see the updated header, for public users, they see an outdated header menu as shared in the screen recording.

  • Device: Macbook Air M1
  • Browser name and version: Google Chrome V 130.0.6723.92
  • Operating System: macOS 15.0.1 (24A348)

Video Link: https://drive.google.com/file/d/1K-McIDTdq8E-w8Xi8LuAd3LKSOifLw3F/view?usp=sharing

Irrespective of my device, apparently this issue is faced by all our team members globally.

Hey @planet,

It seems that your website is connected to Cloudflare.

Please try to clear your cache there and set it to development mode.

Hope that helps.

Hi @marc_a

I already tried doing that multiple times, while also enabling Development mode. But that doesn’t help either.


Is there some solution to this issue?

Hey @planet,

After purging the cache on Cloudflare and setting it to development mode, you can try and check if you have a server cache. If there is, please purge it.

Thank you.

Hi @marc_a

We have cleared all types of cache including server cache, but the problem still persists.

Hey @Planet,

What’s your hosting provider? Could you please ask them if they have Varnish or other caching feature in their server? You might want to mention the issue to them as well as they might have an idea why the old version of the site is loaded and not the latest changes is applied.

Best Regards.

HI @ruenel

Do we have any other solution?
Our site is hosted on a Digital Ocean server via Gridpane where both the page cache and object cache is disabled.


Hey @planet,

You can contact your hosting provider support if they can spot some server settings on their end because currently when the user is logged in, the header is showing the updated one. With that said, it has something to do with your caching that is associated with your website.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.