Title: mobile cache enable
Last modified: August 21, 2016

---

# mobile cache enable

 *  [rigagoogoo](https://wordpress.org/support/users/rigagoogoo/)
 * (@rigagoogoo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/mobile-cache-enable/)
 * just trying to get to grips with all the options your plugin supports. it seems
   like a very comprehensive plugin.
 * in setup page there is an option marked
 * `cache if mobile [tick] If the request is from a mobile device disable cache`
 * which is correct? the option name “cache if mobile” suggests ticking enables 
   mobile caching but the comment “if the request is from a mobile device disable
   caching” infers the opposite that ticking disables mobile caching.
 * can you also explain why would I want to disable caching for mobile devices?
 * many thanks in advance,
    rigagoogoo
 * [http://wordpress.org/extend/plugins/nginx-manager/](http://wordpress.org/extend/plugins/nginx-manager/)

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

 *  Plugin Author [Hpatoio](https://wordpress.org/support/users/hpatoio/)
 * (@hpatoio)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/mobile-cache-enable/#post-3666771)
 * Hello, and thank you for using *our* plugin.
 * You are right, messages are not very clear. Anyway here a short explanation.
 * Nginx keeps only one version of page in the cache[1]. If your site has a “mobile
   version” that is served when a mobile device connect two things can happen:
 * 1) **The page is cached and the cache was generated by a request from a _desktop_
   browser**. In this case the user who get the _desktop_ version of the site instead
   of the _mobile_ one
 * 2) **The page is not cached**. In this case the user get the _mobile_ version
   of the site and the mobile version also get stored in the cache thus when a _desktop_
   user connect, if the page is still cached, get the _mobile_ version
 * If you flag the checkbox when the backend send the response for a mobile request[
   2] set the HTTP header _X-Accel-Expires_ to zero. In this way the response is
   not cached by NGINX
 * I hope these few lines help. Feel free to ask more question
 * —
    Simone
 * [1] You can have multiple versions of the same page in the cache but you have
   to correctly set the the _cache_key_
 * [2] To determinate if a request come from a mobile device the plugin use the 
   regexp you set in the next input field
 *  Thread Starter [rigagoogoo](https://wordpress.org/support/users/rigagoogoo/)
 * (@rigagoogoo)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/mobile-cache-enable/#post-3666849)
 * Hi Hpatoio,
 * That’s a very clear explanation thank you very much for your quick response 🙂
 * great plugin
    rigagoogoo

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

The topic ‘mobile cache enable’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nginx-manager.svg)
 * [NGINX Manager](https://wordpress.org/plugins/nginx-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/nginx-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/nginx-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nginx-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nginx-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [rigagoogoo](https://wordpress.org/support/users/rigagoogoo/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/mobile-cache-enable/#post-3666849)
 * Status: not resolved