• Resolved ACh

    (@ach1992)


    Hello Litespeed Cache,
    How can disable cache on mobiles and tablets?

    Best regards

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Hai Zheng?

    (@hailite)

    If you are able to find the mobile and tablets’ user agents, you can use add them to Do Not Cache User Agents setting.

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi @ach1992

    Hai’s solution works, but I am wondering, why do you want to disable cache on Mobile? Maybe there’s a better way to achieve what you want, without disabling the cache for a large percentage of your users.

    If you let us know your situation, maybe we can come up with a better suggestion ??

    Johnson

    (@legitloaded)

    Thread Starter ACh

    (@ach1992)

    Hello
    There is a problem when the cache is enabled. The mobile version and desktop version get mixed up! I use the Martfury theme and it has a lot of problems with the Litespeed Cache.
    Please, help me to fix this problem.

    Best regards

    Hi @ach1992, you can try to use Litespeed Cache Setting > Cache Mobile, it will separate mobile and desktop cache version.

    Hi @legitloaded, seems the cache root not set properly on the server, may I know which type of LiteSpeed server are you using? Also, could you please provide?Report Number?

    @lclarke

    I read your comment on this post about “why do you want to disable cache on Mobile?”
    and it got me really confused, because on the LS Cache settings it says:

    “Cache Mobile is Off: Cache mobile views separately. Only enable for AMP or mobile-specific design/content, not for responsive sites.”

    My site is responsive and I don’t have an AMP version of it

    The reason why this confuses me is because I just migrated from WP Rocket and they want you to enable that setting of their mobile cache for sure.

    With LS Cache I am doing great on Desktop speed but with mobile I could really use improvement. So, should this be enable or not?

    Regards,

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi @lechon

    If you have a responsive theme, you can leave Cache Mobile set to OFF.

    What that option is really for is for caching a separate copy of your site for mobile. In responsive themes, it is not necessary to cache a separate mobile/desktop version, because the HTML is the same between desktop and mobile. (The differences between the two versions are handled by CSS.)

    So, leave it OFF, and both your desktop and mobile traffic will be cached by default.

    Let me know if you have any other questions!

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi again, @lechon

    I just re-read the rest of the thread. If you already have Cache Mobile set to OFF, and you are seeing mobile content on desktop and/or desktop content on mobile, then it sounds like you don’t actually have a responsive theme.

    The Cache Mobile setting is for sites where the desktop version’s HTML is different than the mobile version’s HTML. If that is the case for your site, then it should be turned ON.

    I hope I haven’t just confused the matter further! If you still need help, please provide your Report Number, found in WP Admin > LiteSpeed Cache > Report, so our support staff can take a look at your site, and see what’s up.

    @lclarke

    Hi,
    Thanks for taking the time to explain this.

    I am not seeing mobile content on desktop or desktop content on mobile, so per your advice I am leaving it off.

    Cheers!

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Oh, good, glad to hear it! Let us know if you run into any other questions ??

    Hi, can i “ON” Cache Mobile”?
    I don’t use AMP and my theme is Newspaper
    I don’t know if my theme support “mobile-specific design/content”
    I only know that if my theme is “Responsive” then i have to keep it “OFF”.

    Thanks

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