• Resolved jerpic

    (@jerpic)


    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: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello Jér?me,

    If you have a theme that is responsive, but if you don’t 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 doesn’t support device detection disable cache mobile!

    Plugin Support qtwrk

    (@qtwrk)

    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 it’s desktop and another one thinks it’s mobile

    Best regards,

    Thread Starter jerpic

    (@jerpic)

    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 doesn’t create/delivers different code for different devices. That means you don’t 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 don’t 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?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    could you please provide the report number ?

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    I’m 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,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue with mobile cache’ is closed to new replies.