Changeset 2325772
- Timestamp:
- 06/17/2020 10:14:14 AM (6 years ago)
- Location:
- pagecdn
- Files:
-
- 11 added
- 3 edited
-
tags/5.9 (added)
-
tags/5.9/admin-functions.php (added)
-
tags/5.9/data (added)
-
tags/5.9/data/data.json (added)
-
tags/5.9/font-functions.php (added)
-
tags/5.9/functions.php (added)
-
tags/5.9/init-functions.php (added)
-
tags/5.9/pagecdn.php (added)
-
tags/5.9/readme.md (added)
-
tags/5.9/readme.txt (added)
-
tags/5.9/settings.php (added)
-
trunk/functions.php (modified) (3 diffs)
-
trunk/pagecdn.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pagecdn/trunk/functions.php
r2319741 r2325772 20 20 { 21 21 $excludes = array_filter( array_map( 'trim' , explode( ',' , PageCDN_options( 'excludes' ) ) ) ); 22 23 $excludes[] = '/wp-content/uploads/gravity_forms/captcha-'; 22 24 } 23 25 … … 36 38 { 37 39 $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( ); 38 55 39 56 foreach( $excludes as $exclude ) … … 351 368 } 352 369 353 if( PageCDN_options('optimize_images') )370 if( PageCDN_options('optimize_images') && !PageCDN_rewriter_exclude_image_optimization( $url ) ) 354 371 { 355 372 $flag = '._o'; -
pagecdn/trunk/pagecdn.php
r2323774 r2325772 7 7 Author URI: https://pagecdn.com 8 8 License: GPLv2 or later 9 Version: 5. 89 Version: 5.9 10 10 */ 11 11 … … 20 20 //define( 'PAGECDN_IMG_CACHE' , WP_CONTENT_DIR . '/cache/pagecdn/images.json' ); 21 21 //define( 'PAGECDN_WEBP_CACHE' , WP_CONTENT_DIR . '/cache/pagecdn/webp.json' ); 22 define( 'PAGECDN_VER' , '5. 8' );22 define( 'PAGECDN_VER' , '5.9' ); 23 23 24 24 $PageCDN_origin_scheme = strtolower( parse_url( home_url( ) , PHP_URL_SCHEME ) ); -
pagecdn/trunk/readme.txt
r2320013 r2325772 1 1 === Easy Speedup by PageCDN === 2 2 Contributors: 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 push3 Tags: 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 4 4 Requires at least: 4.0 5 5 Tested up to: 5.4
Note: See TracChangeset
for help on using the changeset viewer.