Score:0

Views posts not displaying correctly until clearing the cache

ve flag

I have an issue with a Drupal 8 website. I have some pages that have views listing some contents ( text and images). The websites uses CDN and varnish. The problem is that sometimes, the contents like images in the views display two times bigger on the page and things are scattered all over until I clear the cache (refreshing the page does not solve the issue) and only then everything displays correctly. Every time a content is modified in the back office, the views misbehaves again until I clear the cache again.

Also I have tried to inspect the page and I see the HTML is a different when the page does not loads correctly so it seems it's not related to CSS. The structure of the HTML changes back to normal as soon as I clear the cache.

Anyone had this issue before? I tried to disable the cache of views in the settings of the back office, but it did not solve the issue. Any help is appreciated. Thanks!

id flag
Can you confirm that you have cache purge modules properly configured to invalidate content in Varnish? In what way is the HTML different? There isn't much to go on here.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.