Support » Plugin: WP Super Cache » Use of "Mobile Device Support" Option in WP Super Cache

  • Yet Another WP User

    (@yet-another-wp-user)


    Hi

    I want to know what’s the use of “Mobile Device Support” option in WP Super Cache settings?

    If I understand correctly, this option is enabled if we are using an extra plug-in to serve a different theme of our wordpress blog to mobile users. If we dont enable this option, Super cache plug-in will ignore the mobile plugin and will serve same Desktop version of cache files to mobile users. Am I correct?

    If I understand correctly the use of this option, then will this option make any difference if we are using a responsive theme?

    Will enabling or disabling this option make any change if we dont use any extra mobile plug-in and use responsive theme which automatically resizes for different screens?

    If it doesnt make any difference, should we keep the option enabled or disabled?

    Thanks in advance.

    https://wordpress.org/plugins/wp-super-cache/

Viewing 6 replies - 1 through 6 (of 6 total)
  • webaware

    (@webaware)

    Yes, it’s for diverting mobile devices to ensure that they get the mobile version of the page when there’s dynamic mobile detection on the server side, e.g. with WP Touch or similar plugins.

    If you have a responsive theme, or a separate mobile domain name, you should disable this option! When that option is enabled and you are using the fast .htaccess method (mod_rewrite rules) to serve cached files, all mobile devices will use the much slower PHP method to serve cached files. i.e. it will slow down your website for all mobile users.

    Yet Another WP User

    (@yet-another-wp-user)

    ^^Thanks a lot for the reply.

    Yes. I’m using a responsive theme which automatically resizes for mobiles, tablets, etc.

    So I should disable that option and still the plug-in will cache correct page on mobiles. Right?

    Please keep in mind that the responsive theme hides some areas such as sidebar, etc on mobiles. Will this plug-in serve correct cached files to mobiles?

    webaware

    (@webaware)

    If your theme is mobile-responsive by CSS and/or JavaScript, then yes. If it does weird stuff on the server side to serve up different content based on user agent sniffing, then no. You’ll need to ask your theme’s authors about that.

    Or you can just test it and see what it does when you visit a page from a desktop browser (not logged in!) and then a phone (also not logged in!)

    cheers,
    Ross

    Yet Another WP User

    (@yet-another-wp-user)

    ^^ Yes. My theme only hides or resizes stuff via CSS. I have created the theme myself. It doesnt use any Javascript or useragent thing.

    So once again let me ask it, should I disable the option without any problem?

    Thanks a lot in advance for your help. 🙂

    webaware

    (@webaware)

    Yes. Roger. Check. “Just do it”(tm) 🙂

    Do it, and then… test it!

    And don’t forget that this is all about the mod_rewrite mode, so update your .htaccess rules when you’ve changed your settings, or it will still skip supercached files for mobile devices.

    cheers,
    Ross

    Yet Another WP User

    (@yet-another-wp-user)

    ^^ Thanks a lot for your help. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Use of "Mobile Device Support" Option in WP Super Cache’ is closed to new replies.