Once in a While, Website is Served as Mobile

Posted in: Newsmag
Post count: 55

We have a weird bug that causes the website to be served in what I think of the mobile version. This happens from time to time.

Mobile version

Normally, it looks like this:

Normal version

Litespeed Web Server
PHP 7.3
Lightspeed Cache
WP 5.2
Newsmag Version 4.8

This started with v4.8.

Post count: 20688

Hi,

This usually happens because of caching plugins or settings from them. Some caching plugins can mix up the main theme with the mobile theme. We recommend where possible to use the super cache plugin, in our tests such issues did not happen when the mobile theme is active – https://tagdiv.com/wp-super-cache-plugin-install-and-configure/

If you use the same caching from this topic
https://www.litespeedtech.com/support/forum/threads/issue-with-mobile-caching-in-lscache-plugin.17148/
You could check if the setting mentioned there is enabled, if not enable it and purge the cache. Check if that works.

Thanks

Post count: 55

Thank you. I do understand that from now on, if something happens, I’ll contact LiteSpeed team. This is definitely an LSCache issue.

  • This reply was modified 7 years by aleister.
Post count: 12

This is not with the case of litespeed plugin or litespeed cache, I have tested and get the same result on W3 Total Cache too. The problem occur when you have enabled object cache with the Mobile+AMP configuration turned ON. If you choose AMP instead of Mobile+AMP configuration this problem will not occur. Do note that you have to wait till your cache removed from your server.

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