Title: Separate cache version Desktop &amp; Mobile
Last modified: June 30, 2021

---

# Separate cache version Desktop & Mobile

 *  Resolved [laluce2020](https://wordpress.org/support/users/laluce2020/)
 * (@laluce2020)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/separate-cache-version-desktop-mobile/)
 * Hi Jose,
 * I use the SG Optimizing plugin for caching and it does not distinguish from mobile
   and desktop. Will the plugin work if I exclude my mobile pages from being cached?
   If yes, which URL do I have to specify?
 * Many thanks,
 * Marco

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

 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/separate-cache-version-desktop-mobile/#post-14612550)
 * Hi [@laluce2020](https://wordpress.org/support/users/laluce2020/)
 * if you can exclude the mobile pages from being cached, it will work, but those
   pages may be slower because they will not be cached.
 * The URLs that you have to use are the URLs of the pages that have a mobile version.
   The public URL of a page that has a mobile version is always the same.
 * If for example, the page [https://yourdomain.com/sample-page/](https://yourdomain.com/sample-page/)
   has a mobile version, you need to use the URL [https://yourdomain.com/sample-page/](https://yourdomain.com/sample-page/).
   The URL [https://yourdomain.com/sample-page-mobile/](https://yourdomain.com/sample-page-mobile/)
   exists only in the backend for authorized users. All other users don’t see that
   URL.
 * I hope it’s clear.
 *  Thread Starter [laluce2020](https://wordpress.org/support/users/laluce2020/)
 * (@laluce2020)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/separate-cache-version-desktop-mobile/#post-14614599)
 * Good morning Jose,
 * Thank you for the quick response.
    It is clear, I was wondering if it was possible
   to exclude from caching only the mobile version of the page and not the desktop
   one. Is there any way to show mobile page only on phones and keep the desktop
   version on tablets?
 * Thank you
 *  Plugin Author [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/separate-cache-version-desktop-mobile/#post-14646474)
 * Hi [@laluce2020](https://wordpress.org/support/users/laluce2020/)
 * you are welcome.
 * I don’t know if you can exclude from caching only the mobile version. This is
   something that is managed by SG Optimize in your case.
 * But you can try this workaround:
 * – Install [Freesoul Deactivate Plugins](https://wordpress.org/plugins/freesoul-deactivate-plugins/)
   to deactivate SG Optimize on the mobile version.
    – Clear the cache of SG Optimize
 * Deactivating SG Optimize on the mobile version of the page, it will not generate
   any cache when that page is visited on mobile.
    It’s important you clear the 
   cache, because once the cache is created, even tough you disable SG Optimize 
   on mobile, the cache will be called in any case, because it’s called before the
   standard plugins.
 * To keep the desktop version on the tablet you would need the PRO version, which
   is still under development, but you can easily reach the same goal by adding 
   this line of code in wp-config.php:
 * `define( 'SCFM_EXCLUDE_TABLETS',true );`
 * Add that line before the comment /* That’s all, stop editing! Happy blogging.*/
 * I hope it helps.

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

The topic ‘Separate cache version Desktop & Mobile’ is closed to new replies.

 * ![](https://ps.w.org/specific-content-for-mobile/assets/icon-256x256.png?rev=
   2447531)
 * [Specific Content For Mobile - Customize the mobile version without redirections](https://wordpress.org/plugins/specific-content-for-mobile/)
 * [Support Threads](https://wordpress.org/support/plugin/specific-content-for-mobile/)
 * [Active Topics](https://wordpress.org/support/plugin/specific-content-for-mobile/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/specific-content-for-mobile/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/specific-content-for-mobile/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/separate-cache-version-desktop-mobile/#post-14646474)
 * Status: resolved