How to properly set FastCGI caching for Newspaper theme

Posted in: Newspaper
Post count: 195

Hey there!

I have problems when using FastCGI caching.

When I use it whenever a page is first cached on mobile – the desktop header goes missing.

What can I do to fix this?

Post count: 35449

Hi,
This happens because the first HTML that gets cached (from a mobile visit) is later served to desktop users too. Newspaper can render different header markup for mobile vs. desktop (especially if you enabled the tagDiv Mobile Theme/ Mobile page). With FastCGI cache, if you don’t vary the cache by device (or the theme’s device cookie), you’ll mix the variants, so the “desktop header goes missing”. What to do?
– use the responsive version.
– split the FastCGI cache by device
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.