Separate Mobile View doesn't works


I use Litespeed Cache module 1.2.7 with Prestashop
My template is Zro03 - Supermarket Store, a popular one on Addons PS shop.

With this template, the code on the desktop and mobile version are different. But even if I select "Separate Mobile View"in LSC module, the version kept in cache is the first displayed after I clear cache, whatever it is desktop or mobile :
- If I clear cache and I go on desktop view first : I'll then have desktop version on mobile.
- If I clear cache and I go on mobile view first : I'll then have mobile view on desktop.
See attach files.

I even tried to deactivate the LSC module on mobile, but in this case I lost the hamburger menu on mobile !

I don't understand what I do wrong. Any help would be welcome :)

Thanks before.




Staff member
LiteSpeed cache plugin only support warehouse theme. template Zro03 - Supermarket Store could be the issue.
Thanks for your fast reply ! Only Warehouse theme ? I used LiteSpeed cache on LeoTheme templates and it works also well. Is it possible to configure the LiteSpeed cache module to make him ignore the header of the site (where the problem is) ?


Well-Known Member
Okay, but you can also be helped with PrestaShop. :)

PrestaShop has a build-in function that differentiate devices like desktop and mobile devices. This function may produce differently code for each kind device. If you use LScache you must define vary cache rules in .htaccess, so Lscache knows that your Shop has different output depending on device. This can solve your problem, but you can also try plugin function for separate mobile view. If this plugin function doesn't solve your problem, define cache rules.