Issue with mobile cache




Wordpress LScache Plugin: Issue with mobile cache

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hello, I have an issue with the mobile cache, in fact, some content of the desktop version is visible on the mobile version. This is specially the case with the footer, the instagram feed should not be visible on mobile, I use the plugin Mobile Detect in the server side to do that. In the settings of the plugin, the option Cache mobile is well active. I have the impression that there is only one cache, the same for desktop and mobile. I would appreciate any help on this issue. Best Regards, J?r?me. The page I need help with: https://www.unbrinnaturel.fr/ Hello J?r?me, If you have a theme that is responsive, but if you dont have a device detection that delivers different code for each device, then it makes so sense to cache mobile and can cause malfunction. Setting cache mobile is for themes only that have a server side device detection. If your theme doesnt support device detection disable cache mobile! Hi, there is only one cache, the same for desktop and mobile. you can easily verify this by checking HTML source code, at bottom of page, there is a timestamp to show when the cache was generated/saved I use the plugin Mobile Detect in the server side to do that. You may need to make sure both LSCWP and that mobile , use the same way to detect the mobile things could be weird if one plugin thinks its desktop and another one thinks its mobile Best regards, Hi, Thanks for your reply. I did the following test : ? Load the homepage with from a desktop. ? Load the homepage with the user-agent : Iphone. The page is exactly the same, same timestamp. Therefore, it seems that there is no dedicated cache for the mobile despite the setting (cache mobile : active). Should I have something special in the .htaccess for the mobile cache? Does the default user-agents list for mobile is correct? ? Mobile ? Android ? Silk/ ? Kindle ? BlackBerry ? Opera Mini ? Opera Mobi Any help would be very appreciated. Best Regards, @jerpic If the timestamp is the same, then your theme doesnt create/delivers different code for different devices. That means you dont need any device detection, neither Mobile Detect plugin nor mobile setting in WP cache plugin. You only need a device detection if your theme is a RESS theme. RESS == !Responsive Design with Server Side Includes . Such themes are very rare and the most popular themes are Responsive Design themes like yours. Your theme uses Media Queries. Media Queries are special kind of Stylesheet and with this Media Queries browser detects the screen resolution. Depending on resolution browser uses only such CSS he needs for the current screen resolution. Others he dont need will be ignored, but this is not a device detection. With device detection code on the server checks the device and sends the right code for the right device. Only in this case you need a device detection. Who told you that you would need a device detection? Hi, could you please provide the report number ? you can get it in toolbox -> report -> click send to LiteSpeed Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference