CMS Development

MBaldoni
Participant | Platinum Partner
Participant | Platinum Partner

Website strange cache behaviour

SOLVE

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 Accepted solution
MBaldoni
Solution
Participant | Platinum Partner
Participant | Platinum Partner

Website strange cache behaviour

SOLVE

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!

View solution in original post

4 Replies 4
MBaldoni
Solution
Participant | Platinum Partner
Participant | Platinum Partner

Website strange cache behaviour

SOLVE

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
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Website strange cache behaviour

SOLVE

@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
Participant | Platinum Partner
Participant | Platinum Partner

Website strange cache behaviour

SOLVE

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
Community Manager

Website strange cache behaviour

SOLVE

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