mobile homepage (created with tagdiv composer) does not always load on mobile.

Posted in: Newspaper
Post count: 4

I created a custom mobile homepage with tagdiv composer and i set it up to be the homepage of the mobile version. Sometimes when I check my website I can see that the the custom homepage is not loading and instead website loads the responsive version of my desktop homepage. I have the mobile theme plugin disabled. I also use litespeed (cache on) and cloudflare.

my website is http://www.rezon.ba

Post count: 35449

Hi,
When you are not using the responsive version on mobile you need to make sure that the cache use have the option to cache and provide a cache separate for mobile, also for Cloudflare you need to have Enable ‘Cache by device type” (APO users) option; unfortunately, this is not in the free version.
Thank you!

Post count: 4

could you please recommend me what to do? I want to keep my custom homepage. I guess Litespeed is not compatible with tagdiv, do you have any other cache recommendations?

Post count: 35449

Hi,
To cache mobile and desktop separately in LiteSpeed, enable “Separate View for Mobile Devices” in the LSCache plugin, ensure matching User-Agent rules in your .htaccess (or let the plugin handle it), and crucially, ensure LSCache directives come before other rules.
But, as mentioned above, on Cloudflare, you must enable ‘Cache by device type” (APO users) option; and this is only on the paid version.

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