LiteSpeed Cache - Version 2.6.0.1

Version Description

  • Sep 24 2018 =
  • : Fixed an issue in responsive placeholder generation where redundant history data was being saved and using a lot of space.
Download this release

Release Info

Developer LiteSpeedTech
Plugin Icon 128x128 LiteSpeed Cache
Version 2.6.0.1
Comparing to
See all releases

Code changes from version 2.6 to 2.6.0.1

inc/litespeed-cache.class.php CHANGED
@@ -25,7 +25,7 @@ class LiteSpeed_Cache
25
 
26
  const NAME = 'LiteSpeed Cache' ;
27
  const PLUGIN_NAME = 'litespeed-cache' ;
28
- const PLUGIN_VERSION = '2.6' ;
29
 
30
  const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
31
 
25
 
26
  const NAME = 'LiteSpeed Cache' ;
27
  const PLUGIN_NAME = 'litespeed-cache' ;
28
+ const PLUGIN_VERSION = '2.6.0.1' ;
29
 
30
  const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
31
 
inc/media.class.php CHANGED
@@ -909,6 +909,7 @@ eot;
909
  // Clear placeholder in queue too
910
  $req_summary = self::get_summary() ;
911
  $req_summary[ 'queue' ] = array() ;
 
912
  $req_summary[ 'curr_request' ] = 0 ;
913
  $this->_save_summary( $req_summary ) ;
914
 
@@ -994,7 +995,10 @@ eot;
994
  if ( empty( $req_summary[ 'history' ] ) ) {
995
  $req_summary[ 'history' ] = array() ;
996
  }
997
- $req_summary[ 'history' ][] = $size ;
 
 
 
998
  unset( $req_summary[ 'queue' ][ array_search( $size, $req_summary[ 'queue' ] ) ] ) ;
999
 
1000
  $this->_save_summary( $req_summary ) ;
909
  // Clear placeholder in queue too
910
  $req_summary = self::get_summary() ;
911
  $req_summary[ 'queue' ] = array() ;
912
+ $req_summary[ 'history' ] = array() ;
913
  $req_summary[ 'curr_request' ] = 0 ;
914
  $this->_save_summary( $req_summary ) ;
915
 
995
  if ( empty( $req_summary[ 'history' ] ) ) {
996
  $req_summary[ 'history' ] = array() ;
997
  }
998
+ if ( ! in_array( $size, $req_summary[ 'history' ] ) ) {
999
+ $req_summary[ 'history' ][] = $size ;
1000
+ }
1001
+
1002
  unset( $req_summary[ 'queue' ][ array_search( $size, $req_summary[ 'queue' ] ) ] ) ;
1003
 
1004
  $this->_save_summary( $req_summary ) ;
includes/litespeed-cache.class.php CHANGED
@@ -25,7 +25,7 @@ class LiteSpeed_Cache
25
 
26
  const NAME = 'LiteSpeed Cache' ;
27
  const PLUGIN_NAME = 'litespeed-cache' ;
28
- const PLUGIN_VERSION = '2.6' ;
29
 
30
  const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
31
 
25
 
26
  const NAME = 'LiteSpeed Cache' ;
27
  const PLUGIN_NAME = 'litespeed-cache' ;
28
+ const PLUGIN_VERSION = '2.6.0.1' ;
29
 
30
  const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
31
 
litespeed-cache.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: LiteSpeed Cache
16
  * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
17
  * Description: High-performance page caching and site optimization from LiteSpeed
18
- * Version: 2.6
19
  * Author: LiteSpeed Technologies
20
  * Author URI: https://www.litespeedtech.com
21
  * License: GPLv3
15
  * Plugin Name: LiteSpeed Cache
16
  * Plugin URI: https://www.litespeedtech.com/products/cache-plugins/wordpress-acceleration
17
  * Description: High-performance page caching and site optimization from LiteSpeed
18
+ * Version: 2.6.0.1
19
  * Author: LiteSpeed Technologies
20
  * Author URI: https://www.litespeedtech.com
21
  * License: GPLv3
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: LiteSpeedTech
3
  Tags: caching, optimize, performance, pagespeed, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
  Requires at least: 4.0
5
  Tested up to: 4.9.8
6
- Stable tag: 2.6
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl.html
9
 
@@ -275,6 +275,9 @@ Click on the `Advanced View` link at the top of the page, and several more tabs
275
 
276
  == Changelog ==
277
 
 
 
 
278
  = 2.6 - Sep 22 2018 =
279
  * <strong>Vary</strong>: Moved `litespeed_cache_api_vary` hook outside of OLS condition for .htaccess generation.
280
  * <strong>CDN</strong>: Trim spaces in original URL of CDN setting.
3
  Tags: caching, optimize, performance, pagespeed, seo, speed, image optimize, compress, object cache, redis, memcached, database cleaner
4
  Requires at least: 4.0
5
  Tested up to: 4.9.8
6
+ Stable tag: 2.6.0.1
7
  License: GPLv3
8
  License URI: http://www.gnu.org/licenses/gpl.html
9
 
275
 
276
  == Changelog ==
277
 
278
+ = 2.6.0.1 - Sep 24 2018 =
279
+ * 🔥🐞: Fixed an issue in responsive placeholder generation where redundant history data was being saved and using a lot of space.
280
+
281
  = 2.6 - Sep 22 2018 =
282
  * <strong>Vary</strong>: Moved `litespeed_cache_api_vary` hook outside of OLS condition for .htaccess generation.
283
  * <strong>CDN</strong>: Trim spaces in original URL of CDN setting.