• This plugin is great as it provides the PHP command lines for identifying browsers and using if commands. It’s not a great plugin for cacheing when using plugins such as W3 Total Cache, especially with memcache, as it stores .browser-gecko and .os-linux on the server. It’s better used as inline-PHP standalone commands:

    $userAgent = $_SERVER[‘HTTP_USER_AGENT’];
    if($is_safari) { echo ‘safari item’; }
    elseif($is_chrome) { echo ‘chrome item’; }

    It’s super helpful for providing these tags however, especially since these lines of code will transcend version updates for the foreseeable future, and it will work fantastic with a non-cacheing website.

    • This topic was modified 5 years, 7 months ago by samuelcrowe13.
  • The topic ‘Great for PHP, not for cacheing’ is closed to new replies.