Viewing 9 replies - 1 through 9 (of 9 total)
  • I have the same question…

    Plugin Author James Mehorter

    (@jamesmehorter)

    Currently, Device Theme Switcher works with W3 Total Cache using the default settings of w3tc. I’ve received a number of requests to get the plugin working with WP Super Cache as well, and it’s something I’ll be looking into further. At this time I can only recommend using w3tc with it’s default settings. I’ll post back when we’re able to release an updated version of DTS with WP Super Cache.

    Okay, it seems to work with WP Super Cache if I do the following:

    1) Use legacy mode in WP Super Cache.
    2) Add all mobile user agents (iPhone, Android, Blackberry, etc.) to “Rejected User Agents” list.
    3) Disable caching for the mobile theme by adding define(‘DONOTCACHEPAGE’,’true’); to functions.php.

    That’s what I’ve done so far and it appears to work…. Step 3 might not be necessary, but I’ve done it just to be safe.

    Are the default settings of W3TC better than these WP Super Cache settings?

    pixelkicks

    (@pixelkicks)

    Hi James,

    Is there any update on the compatibility with WP Super Cache? I quite like the look of your plugin and am considering using it over WordPress Mobile Pack.

    Would be great if it worked with WPSC.

    Thanks,

    Chris.

    Plugin Author James Mehorter

    (@jamesmehorter)

    Hi Chris,

    Device Theme Switcher does work with WPSC. Tevor’s post above details the WPSC settings he used. I would recommend following his steps. Let me know if you run into issues doing so.

    The define() bit is the important part, which keeps WPSC from caching the mobile theme. This is something that is best done in the theme, and not in Device Theme Switcher.

    Thanks

    James

    pixelkicks

    (@pixelkicks)

    Thanks for that James, I’ll take a look and let you know how I get on.

    Cheers for repyling.

    pixelkicks

    (@pixelkicks)

    Further to this, do we need to enable Legacy Caching? If so then its not really an option, as I don’t want the overall speed of my site to be affected.

    Chris.

    Is there an update for compatibility of Device Theme Switcher with Super Cache? The only ‘solution’ offered so far is to basically turn off Super Cache on mobile themes, which isn’t viable solution in the long term.

    Plugin Author James Mehorter

    (@jamesmehorter)

    Hi awb9h,

    Unfortunately, no. Any of those caching plugins are only capable of caching one version of the website, based on your theme. Since you’re now dealing with two themes, only one version can be cached. There isn’t anything in DTS that could be changed to ‘fix’ this. I’ve spoken with a few of the guys at those various plugins and they’re the ones who recommended disabling caching for mobile users. I’d be open to trying something to work around this – but it’s an inherit problem in the caching plugins, and something I have no control over. Sorry ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Device Theme Switcher] Wp Super Cache support’ is closed to new replies.