CMS Development

MBaldoni
Teilnehmer/-in | Platinum Partner
Teilnehmer/-in | Platinum Partner

Website strange cache behaviour

lösung

Hi,

I have a website with 2 languages: english and italian. Italian as primary language set on hubspot.

 

In the italian version there is the Recomended product section that is visible.

In the english there is not.

 

But if I bust the cache using the exact query parameter of hubspot for busting the cache cache "hsCacheBuster" the section appears.
If you try to bust it with other query parameters it doesn't work.

 

The problem occures only in english version

 

Italian version: click

English version: click

English version with hsCacheBuster: click

English version with custom query parameter: click

0 Upvotes
1 Akzeptierte Lösung
MBaldoni
Lösung
Teilnehmer/-in | Platinum Partner
Teilnehmer/-in | Platinum Partner

Website strange cache behaviour

lösung

It came out that it was a HubSpot backend problem.
To solve I wrote at the assistance, they said it was a backend problem and they solved it. Thanks to every one!

Lösung in ursprünglichem Beitrag anzeigen

4 Antworten
MBaldoni
Lösung
Teilnehmer/-in | Platinum Partner
Teilnehmer/-in | Platinum Partner

Website strange cache behaviour

lösung

It came out that it was a HubSpot backend problem.
To solve I wrote at the assistance, they said it was a backend problem and they solved it. Thanks to every one!

Teun
Trendsetter/-in | Elite Partner
Trendsetter/-in | Elite Partner

Website strange cache behaviour

lösung

@MBaldoni , Try adding a hubl variable to the page disabling cache to test if that solves your issue.

You could try something like:

{% set cookies = request.cookies %}

 Using `request.cookies` will disable page caching, if that solves your issue, you probably need to reach out to HubSpot support.



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


MBaldoni
Teilnehmer/-in | Platinum Partner
Teilnehmer/-in | Platinum Partner

Website strange cache behaviour

lösung

Hi Teun,

thanks for the suggestion, but I tried to add the snippet in the template .html but it doesn't work.

0 Upvotes
Jaycee_Lewis
Community-Manager/-in
Community-Manager/-in

Website strange cache behaviour

lösung

Hi @MBaldoni 👋 Thanks for including all those details. I get the same result with the EN version as what you are reporting. I'd like to invite some of our community members to the conversation — hey @GiantFocal @albertsg @coldrickjack, do you have any ideas on any potential roots causes? Or additional troubleshooting tips for @MBaldoni?

 

Thank you for taking a look! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes