Title: [Plugin: Device Theme Switcher] Wp Super Cache support
Last modified: August 20, 2016

---

# [Plugin: Device Theme Switcher] Wp Super Cache support

 *  Resolved [Skaffawebb](https://wordpress.org/support/users/skaffawebb/)
 * (@skaffawebb)
 * [14 years ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/)
 * Are there any support for WP super cache or will it send the desktop version 
   to mobile users and vice versa?
 * Regards
 * [http://wordpress.org/extend/plugins/device-theme-switcher/](http://wordpress.org/extend/plugins/device-theme-switcher/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Trevor Gehman](https://wordpress.org/support/users/trevorgehman/)
 * (@trevorgehman)
 * [14 years ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724090)
 * I have the same question…
 *  Plugin Author [James Mehorter](https://wordpress.org/support/users/jamesmehorter/)
 * (@jamesmehorter)
 * [14 years ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724092)
 * 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.
 *  [Trevor Gehman](https://wordpress.org/support/users/trevorgehman/)
 * (@trevorgehman)
 * [14 years ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724093)
 * 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](https://wordpress.org/support/users/pixelkicks/)
 * (@pixelkicks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724126)
 * 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](https://wordpress.org/support/users/jamesmehorter/)
 * (@jamesmehorter)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724127)
 * 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](https://wordpress.org/support/users/pixelkicks/)
 * (@pixelkicks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724128)
 * Thanks for that James, I’ll take a look and let you know how I get on.
 * Cheers for repyling.
 *  [pixelkicks](https://wordpress.org/support/users/pixelkicks/)
 * (@pixelkicks)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724129)
 * 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.
 *  [awb9h](https://wordpress.org/support/users/awb9h/)
 * (@awb9h)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724138)
 * 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](https://wordpress.org/support/users/jamesmehorter/)
 * (@jamesmehorter)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724139)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/device-theme-switcher_b8a362.svg)
 * [Plugin Name: Device Theme Switcher](https://wordpress.org/plugins/device-theme-switcher/)
 * [Support Threads](https://wordpress.org/support/plugin/device-theme-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/device-theme-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/device-theme-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/device-theme-switcher/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [James Mehorter](https://wordpress.org/support/users/jamesmehorter/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-device-theme-switcher-wp-super-cache-support/#post-2724139)
 * Status: resolved