• Cache Master is a fantastic plugin – seems to be ‘the one’

    The only thing which is stopping this from being 100% is its interaction with WP Touch.

    Cache Master is overriding WP Touch’s position of detecting mobile users / displaying content to mobile users.

    I am using Expert mode, so I presume letting Cache Master output cache before everything ( WP Touch ) is initialised is creating the issue.

    Is this an option ?

    // BEGIN - Cache Master
    
    if ( file_exists( '/var/www/vhosts/example.com/httpdocs/wp-content/plugins/cache-master/inc/expert-mode.php' ) ) {
    
      include_once( '/var/www/vhosts/example.com/httpdocs/wp-content/plugins/cache-master/inc/expert-mode.php' );
    
      /* BEGIN - Blog ID: 1 */
    
      global $scm_cache_master;
    
      if ( function_exists( 'wptouch_pro_is_mobile' ) && wptouch_pro_is_mobile() ) {
    
        if ( isset( $scm_cache_master ) && is_object( $scm_cache_master ) ) {
    
          $scm_cache_master->serve_cache();
    
          exit();
    
        }
    
      }
    
      /* END - Blog ID: 1 */
    
    }
    
    // END - Cache Master
    
    
    

Viewing 1 replies (of 1 total)
  • Thread Starter Sarah Haruel

    (@sarah-haruel)

    or a simple option to NOT show the cached version for desktop to mobile devices and vice versa ?

Viewing 1 replies (of 1 total)
  • The topic ‘Cache Master – WP Touch / Mobile Detection’ is closed to new replies.