Title: Jetpack Mobile theme gets cached
Last modified: August 21, 2016

---

# Jetpack Mobile theme gets cached

 *  Resolved [BeRKA](https://wordpress.org/support/users/zhoberka/)
 * (@zhoberka)
 * [12 years ago](https://wordpress.org/support/topic/jetpack-mobile-theme-gets-cached/)
 * I noticed that the Jetpack mobile theme gets cached.
 * This means that you see the mobile site when using a normal browser.
    I hope 
   this is a conflict that can be solved in future versions.
 * kindly
    /BeRKA
 * [https://wordpress.org/plugins/wordfence/](https://wordpress.org/plugins/wordfence/)

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

 *  Plugin Author [Mark Maunder](https://wordpress.org/support/users/mmaunder/)
 * (@mmaunder)
 * [12 years ago](https://wordpress.org/support/topic/jetpack-mobile-theme-gets-cached/#post-4897587)
 * Hi,
 * The version we’re about to release lets you add exclusions for cookies and user-
   agents. Would that help?
 * Regards,
 * Mark.
 *  Thread Starter [BeRKA](https://wordpress.org/support/users/zhoberka/)
 * (@zhoberka)
 * [12 years ago](https://wordpress.org/support/topic/jetpack-mobile-theme-gets-cached/#post-4897605)
 * That would help me.
 * But if there are more people having this problem that doesn’t know anything about
   user-agents, they would still have the same problem. It would be better if it
   could be automatic in some way.
 * Cheers
    /BeRKA
 *  Plugin Author [Mark Maunder](https://wordpress.org/support/users/mmaunder/)
 * (@mmaunder)
 * [12 years ago](https://wordpress.org/support/topic/jetpack-mobile-theme-gets-cached/#post-4897631)
 * Ok so I’ve investigated this and we have added support for Jetpack mobile theme.
   Here’s how it works.
 * Non-mobile pages will be cached.
 * Mobile pages will not be cached.
 * We’re doing this by hooking into the ‘mobile_setup’ action that is defined in:
 * modules/minileven/minileven.php line 189 in Jetpack 2.9.3.
 * We simply define a constant to tell Wordfence to not cache the mobile page.
 * I would have liked to cache desktop AND mobile pages, but we can’t do that because
   Jetpack’s browser detection is complex and we can’t replicate that in .htaccess
   rules.
 * If you would like a mobile theme that can be cached for desktop AND mobile users
   I recommend getting a responsive theme that switches to mobile within the browser
   and not on the server.
 * This feature (support for Jetpack mobile theme) will be in Wordfence 5.0.8 which
   will be released in approximately 6 days.
 * Regards,
 * Mark.
 *  Thread Starter [BeRKA](https://wordpress.org/support/users/zhoberka/)
 * (@zhoberka)
 * [12 years ago](https://wordpress.org/support/topic/jetpack-mobile-theme-gets-cached/#post-4897637)
 * Great news! Thanks!
 * Cheers
    /BeRKA

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

The topic ‘Jetpack Mobile theme gets cached’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [BeRKA](https://wordpress.org/support/users/zhoberka/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/jetpack-mobile-theme-gets-cached/#post-4897637)
 * Status: resolved