Plugin Directory

Changeset 440800


Ignore:
Timestamp:
09/20/2011 02:06:43 PM (15 years ago)
Author:
rukbat
Message:

Upgrade to version 1.3.3

Location:
nginx-manager/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • nginx-manager/trunk/nginx-manager.php

    r399535 r440800  
    55Description: Manage Nginx cache
    66Author: Simone Fumagalli & Marco Zanzottera
    7 Version: 1.3.2
     7Version: 1.3.3
    88Author URI: http://www.iliveinperego.com
    99Network: true
     
    4444    class nginxmLoader {
    4545       
    46         var $version            = '1.3.2'; // Plugin version
     46        var $version            = '1.3.3'; // Plugin version
    4747        var $db_version         = '1.3';   // DB version, change it to show the upgrade page
    4848        var $minium_WP          = '3.0';
  • nginx-manager/trunk/nginxmNginx.php

    r399535 r440800  
    3939                }
    4040            }
     41           
     42            // If the request is from a mobile device disable cache
     43            if ( preg_match('/2\.0 MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine\/3\.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA\/WX310K|LG\/U990|MIDP-2\.|MMEF20|MOT-V|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Opera Mini|Palm|PlayStation Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian OS|SymbianOS|TS21i-10|UP\.Browser|UP\.Link|webOS|Windows CE|WinWAP|YahooSeeker\/M1A1-R2D2|NF-Browser|iPhone|iPod|Android|BlackBerry9530|G-TU915 Obigo|LGE VX|webOS|Nokia5800/', $_SERVER['HTTP_USER_AGENT']) ) {
     44                $cache_ttl = 0;
     45            }
    4146           
    4247            $http_headers['X-Accel-Expires'] = $cache_ttl;
  • nginx-manager/trunk/readme.txt

    r399535 r440800  
    33Tags: cache, nginx, purge, performance
    44Requires at least: 3.0
    5 Tested up to: 3.1
     5Tested up to: 3.2
    66Stable tag: trunk
    77
     
    6363== Changelog ==
    6464
     65= 1.3.3 (2011 09 20) =
     66* NEW : If the request is from a mobile device disable cache
     67* NEW : NextGEN Gallery integration: Purge post that contains the image/thumb gallery edited
     68
    6569= 1.3.2 (2011 06 21) =
    6670* NEW : Purge (homepage) when widgets are dragged to a sidebar
Note: See TracChangeset for help on using the changeset viewer.