Breeze – WordPress Cache Plugin - Version 2.0.1

Version Description

  • Fix: Improved handling of minification in Never Cache URL(s) option.
Download this release

Release Info

Developer adeelkhan
Plugin Icon 128x128 Breeze – WordPress Cache Plugin
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.1

breeze.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: Breeze
4
  * Description: Breeze is a WordPress cache plugin with extensive options to speed up your website. All the options including Varnish Cache are compatible with Cloudways hosting.
5
- * Version: 2.0.0
6
  * Text Domain: breeze
7
  * Domain Path: /languages
8
  * Author: Cloudways
@@ -37,7 +37,7 @@ if ( ! defined( 'BREEZE_PLUGIN_DIR' ) ) {
37
  define( 'BREEZE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
38
  }
39
  if ( ! defined( 'BREEZE_VERSION' ) ) {
40
- define( 'BREEZE_VERSION', '2.0.0' );
41
  }
42
  if ( ! defined( 'BREEZE_SITEURL' ) ) {
43
  define( 'BREEZE_SITEURL', get_site_url() );
2
  /**
3
  * Plugin Name: Breeze
4
  * Description: Breeze is a WordPress cache plugin with extensive options to speed up your website. All the options including Varnish Cache are compatible with Cloudways hosting.
5
+ * Version: 2.0.1
6
  * Text Domain: breeze
7
  * Domain Path: /languages
8
  * Author: Cloudways
37
  define( 'BREEZE_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
38
  }
39
  if ( ! defined( 'BREEZE_VERSION' ) ) {
40
+ define( 'BREEZE_VERSION', '2.0.1' );
41
  }
42
  if ( ! defined( 'BREEZE_SITEURL' ) ) {
43
  define( 'BREEZE_SITEURL', get_site_url() );
inc/minification/breeze-minify-main.php CHANGED
@@ -40,7 +40,6 @@ class Breeze_Minify {
40
  $current_url = $domain . rawurldecode( $_SERVER['REQUEST_URI'] );
41
 
42
  $check_url = $this->check_exclude_url( $current_url );
43
-
44
  //load config file when redirect template
45
  if ( ! $check_url && self::should_cache() ) {
46
  //cache html
@@ -392,8 +391,11 @@ class Breeze_Minify {
392
 
393
  } else {
394
 
395
- $test_url = ltrim( $exclude_url_item, 'https:' );
 
 
396
  $current_url = ltrim( $current_url, 'https:' );
 
397
 
398
  // Whole path
399
  if ( mb_strtolower( $test_url ) === mb_strtolower( $current_url ) ) {
40
  $current_url = $domain . rawurldecode( $_SERVER['REQUEST_URI'] );
41
 
42
  $check_url = $this->check_exclude_url( $current_url );
 
43
  //load config file when redirect template
44
  if ( ! $check_url && self::should_cache() ) {
45
  //cache html
391
 
392
  } else {
393
 
394
+ $test_url = ltrim( $exclude_url_item, 'https:' );
395
+ $test_url = $this->rtrim_urls($test_url);
396
+
397
  $current_url = ltrim( $current_url, 'https:' );
398
+ $current_url = $this->rtrim_urls($current_url);
399
 
400
  // Whole path
401
  if ( mb_strtolower( $test_url ) === mb_strtolower( $current_url ) ) {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: Cloudways
3
  Tags: cache,caching, performance, wp-cache, cdn, combine, compress, speed plugin, database cache,gzip, http compression, js cache, minify, optimize, page cache, performance, speed, expire headers
4
  Requires at least: 4.5
5
  Tested up to: 5.8
6
- Stable tag: 2.0.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -145,14 +145,19 @@ Using Gzip, Breeze compresses the request files, further reducing the size of th
145
 
146
  == Changelog ==
147
 
 
 
 
 
 
148
  = 2.0.0 =
149
 
150
- * Add: Implement a new UI interface.
151
  * Fix: Duplicate script while using the option Move JS Files to Footer.
152
  * Fix: Improvise the optimization of WordPress core functions to clean the database correctly.
153
  * Fix: Implement condition in .htaccess rules while disable "mod_env”.
154
  * Fix: Compatibility issue with Facebook For WooCommerce plugin.
155
-
156
 
157
  = 1.2.6 =
158
 
3
  Tags: cache,caching, performance, wp-cache, cdn, combine, compress, speed plugin, database cache,gzip, http compression, js cache, minify, optimize, page cache, performance, speed, expire headers
4
  Requires at least: 4.5
5
  Tested up to: 5.8
6
+ Stable tag: 2.0.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
145
 
146
  == Changelog ==
147
 
148
+ = 2.0.1 =
149
+
150
+ * Fix: Improved handling of minification in Never Cache URL(s) option.
151
+
152
+
153
  = 2.0.0 =
154
 
155
+ * Add: Implement a new UI interface.
156
  * Fix: Duplicate script while using the option Move JS Files to Footer.
157
  * Fix: Improvise the optimization of WordPress core functions to clean the database correctly.
158
  * Fix: Implement condition in .htaccess rules while disable "mod_env”.
159
  * Fix: Compatibility issue with Facebook For WooCommerce plugin.
160
+
161
 
162
  = 1.2.6 =
163