title: PHP Mobile detect to work with APC + W3 total cache + Wordpress
body: <p>I'm trying to get this PHP lightweight mobile detect (https://github.com/serbanghita/Mobile-Detect ) to work with our install based on Wordpress + W3 Total Cache and APC.</p>
  
  <p>However, the object cache caches the Mobile_Detect.php file and it will eventually just work for the first visitor on any site, after that the information is cached and it doesn't work.</p>
  
  <p>Will it be enough for me to specify the apc.filters to Mobile_Detect.php to get this to work? Or is there something else to take into concideration?</p>
  
  <pre><code>&lt;?php
      include 'mobile-detect/Mobile_Detect.php';
      $detect = new Mobile_Detect();
      ?&gt;
  
      &lt;?php
          if ($detect-&gt;isMobile()) { ?&gt;
          &lt;!-- do some mobile stuff --&gt;
      &lt;?php } else { ?&gt;&lt;!-- do something else --&gt;&lt;?php } ?&gt;
  </code></pre>