Plugin Directory

Changeset 2325772


Ignore:
Timestamp:
06/17/2020 10:14:14 AM (6 years ago)
Author:
pagecdn
Message:

Minor usability fix. Bump to version 5.9

Location:
pagecdn
Files:
11 added
3 edited

Legend:

Unmodified
Added
Removed
  • pagecdn/trunk/functions.php

    r2319741 r2325772  
    2020        {
    2121            $excludes   = array_filter( array_map( 'trim' , explode( ',' , PageCDN_options( 'excludes' ) ) ) );
     22           
     23            $excludes[] = '/wp-content/uploads/gravity_forms/captcha-';
    2224        }
    2325       
     
    3638    {
    3739        $excludes   = array( '/wp-content/cache/' , '/min/' );
     40       
     41        foreach( $excludes as $exclude )
     42        {
     43            if( stripos( $asset , $exclude ) !== false )
     44            {
     45                return true;
     46            }
     47        }
     48       
     49        return false;
     50    }
     51   
     52    function PageCDN_rewriter_exclude_image_optimization( $asset )
     53    {
     54        $excludes   = array(  );
    3855       
    3956        foreach( $excludes as $exclude )
     
    351368            }
    352369           
    353             if( PageCDN_options('optimize_images') )
     370            if( PageCDN_options('optimize_images') && !PageCDN_rewriter_exclude_image_optimization( $url ) )
    354371            {
    355372                $flag   = '._o';
  • pagecdn/trunk/pagecdn.php

    r2323774 r2325772  
    77    Author URI: https://pagecdn.com
    88    License: GPLv2 or later
    9     Version: 5.8
     9    Version: 5.9
    1010*/
    1111   
     
    2020    //define( 'PAGECDN_IMG_CACHE'       , WP_CONTENT_DIR . '/cache/pagecdn/images.json' );
    2121    //define( 'PAGECDN_WEBP_CACHE'  , WP_CONTENT_DIR . '/cache/pagecdn/webp.json'   );
    22     define( 'PAGECDN_VER'           , '5.8'                                         );
     22    define( 'PAGECDN_VER'           , '5.9'                                         );
    2323   
    2424    $PageCDN_origin_scheme      = strtolower( parse_url( home_url( ) , PHP_URL_SCHEME ) );
  • pagecdn/trunk/readme.txt

    r2320013 r2325772  
    11=== Easy Speedup by PageCDN ===
    22Contributors: pagecdn
    3 Tags: CDN, Optimization, Performance, Pagespeed, SEO, Cache, Content Delivery Network, Public CDN, Free CDN, Open-source CDN, Private CDN, Shared CDN, WordPress CDN, WP CDN, fastest, super, brotli, CDN Enabler, Autoptimize, WP Super Cache, W3 Total Cache, compress images, image optimizer, image cdn, optimize images, http/2 server push, http server push, http2 server push, server push
     3Tags: CDN, speedup, Performance, Pagespeed, Free CDN, Open-source CDN, Private CDN, WordPress CDN, WP CDN, fastest, super, brotli, CDN Enabler, Autoptimize, WP Super Cache, W3 Total Cache, image optimizer, image cdn, optimize images, http2 server push
    44Requires at least: 4.0
    55Tested up to: 5.4
Note: See TracChangeset for help on using the changeset viewer.