Version Description
- Oct 4 2018 =
- Ability to generate separate Critical CSS Cache for Post Types & URIs.
-
API: Filter
litespeed_frontend_htaccess
for frontend htaccess path. - Media: Removed responsive placeholder generation history to save space.
Download this release
Release Info
Developer | LiteSpeedTech |
Plugin | LiteSpeed Cache |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6.0.1 to 2.6.1
- admin/litespeed-cache-admin-display.class.php +31 -4
- admin/litespeed-cache-admin-rules.class.php +4 -0
- admin/litespeed-cache-admin-settings.class.php +10 -0
- admin/tpl/setting/settings_cache.php +1 -8
- admin/tpl/setting/settings_excludes.php +2 -16
- admin/tpl/setting/settings_optimize.php +24 -1
- admin/tpl/setting/settings_tuning.php +1 -3
- inc/const.cls.php +4 -0
- inc/css.cls.php +18 -0
- inc/litespeed-cache.class.php +1 -1
- inc/media.class.php +1 -12
- includes/litespeed-cache.class.php +1 -1
- languages/litespeed-cache.pot +126 -113
- litespeed-cache.php +1 -1
- readme.txt +7 -2
admin/litespeed-cache-admin-display.class.php
CHANGED
@@ -952,10 +952,37 @@ class LiteSpeed_Cache_Admin_Display
|
|
952 |
|
953 |
echo '<font class="litespeed-success"> '
|
954 |
. __( 'API', 'litespeed-cache' ) . ': '
|
955 |
-
. sprintf( __( 'Server variable(s) %s available to override this setting.', 'litespeed-cache' ), $s )
|
956 |
-
|
957 |
-
|
958 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
959 |
}
|
960 |
|
961 |
/**
|
952 |
|
953 |
echo '<font class="litespeed-success"> '
|
954 |
. __( 'API', 'litespeed-cache' ) . ': '
|
955 |
+
. sprintf( __( 'Server variable(s) %s available to override this setting.', 'litespeed-cache' ), $s ) ;
|
956 |
+
|
957 |
+
$this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:server_variables' ) ;
|
958 |
+
}
|
959 |
+
|
960 |
+
/**
|
961 |
+
* Display learn more link
|
962 |
+
*
|
963 |
+
* @since 2.6.1
|
964 |
+
* @access public
|
965 |
+
*/
|
966 |
+
public function learn_more( $link )
|
967 |
+
{
|
968 |
+
echo ' <a href="' . $link . '" target="_blank">' . __( 'Learn More', 'litespeed-cache' ) . '</a>' ;
|
969 |
+
}
|
970 |
+
|
971 |
+
/**
|
972 |
+
* Display URI setting example
|
973 |
+
*
|
974 |
+
* @since 2.6.1
|
975 |
+
* @access private
|
976 |
+
*/
|
977 |
+
private function _uri_usage_example()
|
978 |
+
{
|
979 |
+
echo __( 'The URLs will be compared to the REQUEST_URI server variable.', 'litespeed-cache' ) ;
|
980 |
+
echo ' ' . sprintf( __( 'For example, for %s, %s can be used here.', 'litespeed-cache' ), '<code>/mypath/mypage?aa=bb</code>', '<code>mypage?aa=</code>' ) ;
|
981 |
+
echo '<br /><i>' ;
|
982 |
+
echo sprintf( __( 'To match the beginning, add %s to the beginning of the item.', 'litespeed-cache' ), '<code>^</code>' ) ;
|
983 |
+
echo ' ' . sprintf( __( 'To do an exact match, add %s to the end of the URL.', 'litespeed-cache' ), '<code>$</code>' ) ;
|
984 |
+
echo ' ' . __( 'One per line.', 'litespeed-cache' ) ;
|
985 |
+
echo '</i>' ;
|
986 |
}
|
987 |
|
988 |
/**
|
admin/litespeed-cache-admin-rules.class.php
CHANGED
@@ -63,6 +63,10 @@ class LiteSpeed_Cache_Admin_Rules
|
|
63 |
private function __construct()
|
64 |
{
|
65 |
$this->path_set() ;
|
|
|
|
|
|
|
|
|
66 |
clearstatcache() ;
|
67 |
|
68 |
// frontend .htaccess privilege
|
63 |
private function __construct()
|
64 |
{
|
65 |
$this->path_set() ;
|
66 |
+
// Filter for frontend&backend htaccess path
|
67 |
+
$this->frontend_htaccess = apply_filters( 'litespeed_frontend_htaccess', $this->frontend_htaccess ) ;
|
68 |
+
$this->backend_htaccess = apply_filters( 'litespeed_backend_htaccess', $this->backend_htaccess ) ;
|
69 |
+
|
70 |
clearstatcache() ;
|
71 |
|
72 |
// frontend .htaccess privilege
|
admin/litespeed-cache-admin-settings.class.php
CHANGED
@@ -796,6 +796,16 @@ class LiteSpeed_Cache_Admin_Settings
|
|
796 |
*/
|
797 |
$id = LiteSpeed_Cache_Config::OPID_OPTM_MAX_SIZE ;
|
798 |
$this->_options[ $id ] = $this->_input[ $id ] ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
799 |
}
|
800 |
|
801 |
/**
|
796 |
*/
|
797 |
$id = LiteSpeed_Cache_Config::OPID_OPTM_MAX_SIZE ;
|
798 |
$this->_options[ $id ] = $this->_input[ $id ] ;
|
799 |
+
|
800 |
+
/**
|
801 |
+
* Separate CCSS File Types & URI
|
802 |
+
* @since 2.6.1
|
803 |
+
*/
|
804 |
+
$id = LiteSpeed_Cache_Config::ITEM_OPTM_CCSS_SEPARATE_POSTTYPE ;
|
805 |
+
$this->_save_item( $id ) ;
|
806 |
+
$id = LiteSpeed_Cache_Config::ITEM_OPTM_CCSS_SEPARATE_URI ;
|
807 |
+
$this->_save_item( $id, 'uri' ) ;
|
808 |
+
|
809 |
}
|
810 |
|
811 |
/**
|
admin/tpl/setting/settings_cache.php
CHANGED
@@ -64,14 +64,7 @@ if ( ! defined( 'WPINC' ) ) die ;
|
|
64 |
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_CACHE_URI_PRIV ) ; ?>
|
65 |
<div class="litespeed-desc">
|
66 |
<?php echo __('URI Paths containing these strings will NOT be cached as public.', 'litespeed-cache'); ?>
|
67 |
-
<?php
|
68 |
-
<?php echo sprintf( __( 'For example, for %s, %s can be used here.', 'litespeed-cache' ), '<code>/mypath/mypage?aa=bb</code>', '<code>mypage?aa=</code>' ) ; ?>
|
69 |
-
<br />
|
70 |
-
<i>
|
71 |
-
<?php echo sprintf( __( 'To match the beginning, add %s to the beginning of the item.', 'litespeed-cache' ), '<code>^</code>' ) ; ?>
|
72 |
-
<?php echo sprintf( __( 'To do an exact match, add %s to the end of the URL.', 'litespeed-cache' ), '<code>$</code>' ) ; ?>
|
73 |
-
<?php echo __('One per line.', 'litespeed-cache'); ?>
|
74 |
-
</i>
|
75 |
</div>
|
76 |
</td>
|
77 |
</tr>
|
64 |
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_CACHE_URI_PRIV ) ; ?>
|
65 |
<div class="litespeed-desc">
|
66 |
<?php echo __('URI Paths containing these strings will NOT be cached as public.', 'litespeed-cache'); ?>
|
67 |
+
<?php $this->_uri_usage_example() ; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
</div>
|
69 |
</td>
|
70 |
</tr>
|
admin/tpl/setting/settings_excludes.php
CHANGED
@@ -16,14 +16,7 @@ if ( ! defined( 'WPINC' ) ) die ;
|
|
16 |
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_FORCE_CACHE_URI ) ; ?>
|
17 |
<div class="litespeed-desc">
|
18 |
<?php echo __('Paths containing these strings will be cached regardless of no-cacheable settings.', 'litespeed-cache'); ?>
|
19 |
-
<?php
|
20 |
-
<?php echo sprintf( __( 'For example, for %s, %s can be used here.', 'litespeed-cache' ), '<code>/mypath/mypage?aa=bb</code>', '<code>mypage?aa=</code>' ) ; ?>
|
21 |
-
<br />
|
22 |
-
<i>
|
23 |
-
<?php echo sprintf( __( 'To match the beginning, add %s to the beginning of the item.', 'litespeed-cache' ), '<code>^</code>' ) ; ?>
|
24 |
-
<?php echo sprintf( __( 'To do an exact match, add %s to the end of the URL.', 'litespeed-cache' ), '<code>$</code>' ) ; ?>
|
25 |
-
<?php echo __('One per line.', 'litespeed-cache'); ?>
|
26 |
-
</i>
|
27 |
</div>
|
28 |
</td>
|
29 |
</tr>
|
@@ -34,14 +27,7 @@ if ( ! defined( 'WPINC' ) ) die ;
|
|
34 |
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_EXCLUDES_URI ) ; ?>
|
35 |
<div class="litespeed-desc">
|
36 |
<?php echo __('Paths containing these strings will not be cached.', 'litespeed-cache'); ?>
|
37 |
-
<?php
|
38 |
-
<?php echo sprintf( __( 'For example, for %s, %s can be used here.', 'litespeed-cache' ), '<code>/mypath/mypage?aa=bb</code>', '<code>mypage?aa=</code>' ) ; ?>
|
39 |
-
<br />
|
40 |
-
<i>
|
41 |
-
<?php echo sprintf( __( 'To match the beginning, add %s to the beginning of the item.', 'litespeed-cache' ), '<code>^</code>' ) ; ?>
|
42 |
-
<?php echo sprintf( __( 'To do an exact match, add %s to the end of the URL.', 'litespeed-cache' ), '<code>$</code>' ) ; ?>
|
43 |
-
<?php echo __('One per line.', 'litespeed-cache'); ?>
|
44 |
-
</i>
|
45 |
</div>
|
46 |
</td>
|
47 |
</tr>
|
16 |
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_FORCE_CACHE_URI ) ; ?>
|
17 |
<div class="litespeed-desc">
|
18 |
<?php echo __('Paths containing these strings will be cached regardless of no-cacheable settings.', 'litespeed-cache'); ?>
|
19 |
+
<?php $this->_uri_usage_example() ; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
</div>
|
21 |
</td>
|
22 |
</tr>
|
27 |
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_EXCLUDES_URI ) ; ?>
|
28 |
<div class="litespeed-desc">
|
29 |
<?php echo __('Paths containing these strings will not be cached.', 'litespeed-cache'); ?>
|
30 |
+
<?php $this->_uri_usage_example() ; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
</div>
|
32 |
</td>
|
33 |
</tr>
|
admin/tpl/setting/settings_optimize.php
CHANGED
@@ -191,6 +191,29 @@ $last_critical_css_generated = LiteSpeed_Cache_CSS::get_summary() ;
|
|
191 |
</td>
|
192 |
</tr>
|
193 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
<tr>
|
195 |
<th class="litespeed-padding-left"><?php echo __( 'Inline CSS Async Lib', 'litespeed-cache' ) ; ?></th>
|
196 |
<td>
|
@@ -234,7 +257,7 @@ $last_critical_css_generated = LiteSpeed_Cache_CSS::get_summary() ;
|
|
234 |
<?php echo __( 'Prefetching DNS can reduce latency for visiters.', 'litespeed-cache' ) ; ?>
|
235 |
<?php echo __( 'For example', 'litespeed-cache' ) ; ?>: <code>//www.example.com</code>
|
236 |
<?php echo __( 'One per line.', 'litespeed-cache' ) ; ?>
|
237 |
-
|
238 |
</div>
|
239 |
</td>
|
240 |
</tr>
|
191 |
</td>
|
192 |
</tr>
|
193 |
|
194 |
+
<tr>
|
195 |
+
<th class="litespeed-padding-left"><?php echo __( 'Separate CCSS Cache Post Types', 'litespeed-cache' ) ; ?></th>
|
196 |
+
<td>
|
197 |
+
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_OPTM_CCSS_SEPARATE_POSTTYPE ) ; ?>
|
198 |
+
<div class="litespeed-desc">
|
199 |
+
<?php echo __('List post types where each item of that type should have its own CCSS generated.', 'litespeed-cache'); ?>
|
200 |
+
<?php echo sprintf( __( 'For example, if every Page on the site has different formatting, enter %s in the box. Separate critical CSS files will be stored for every Page on the site.', 'litespeed-cache' ), '<code>page</code>' ) ; ?>
|
201 |
+
<?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:optimize#separate_ccss_cache_post_types' ) ; ?>
|
202 |
+
</div>
|
203 |
+
</td>
|
204 |
+
</tr>
|
205 |
+
|
206 |
+
<tr>
|
207 |
+
<th class="litespeed-padding-left"><?php echo __( 'Separate CCSS Cache URIs', 'litespeed-cache' ) ; ?></th>
|
208 |
+
<td>
|
209 |
+
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_OPTM_CCSS_SEPARATE_URI ) ; ?>
|
210 |
+
<div class="litespeed-desc">
|
211 |
+
<?php echo __( 'Separate critical CSS files will be generated for paths containing these strings.', 'litespeed-cache' ) ; ?>
|
212 |
+
<?php $this->_uri_usage_example() ; ?>
|
213 |
+
</div>
|
214 |
+
</td>
|
215 |
+
</tr>
|
216 |
+
|
217 |
<tr>
|
218 |
<th class="litespeed-padding-left"><?php echo __( 'Inline CSS Async Lib', 'litespeed-cache' ) ; ?></th>
|
219 |
<td>
|
257 |
<?php echo __( 'Prefetching DNS can reduce latency for visiters.', 'litespeed-cache' ) ; ?>
|
258 |
<?php echo __( 'For example', 'litespeed-cache' ) ; ?>: <code>//www.example.com</code>
|
259 |
<?php echo __( 'One per line.', 'litespeed-cache' ) ; ?>
|
260 |
+
<?php $this->learn_more( 'https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:optimize#dns_prefetch' ) ; ?>
|
261 |
</div>
|
262 |
</td>
|
263 |
</tr>
|
admin/tpl/setting/settings_tuning.php
CHANGED
@@ -170,9 +170,7 @@ if ( ! defined( 'WPINC' ) ) die ;
|
|
170 |
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_OPTM_EXCLUDES ) ; ?>
|
171 |
<div class="litespeed-desc">
|
172 |
<?php echo __( 'Prevent any optimization of listed pages.', 'litespeed-cache' ) ; ?>
|
173 |
-
<?php
|
174 |
-
<?php echo sprintf( __( 'For example, for %s, %s can be used here.', 'litespeed-cache' ), '<code>/mypath/mypage?aa=bb</code>', '<code>mypage?aa=</code>' ) ; ?>
|
175 |
-
<?php echo __('One per line.', 'litespeed-cache'); ?>
|
176 |
</div>
|
177 |
</td>
|
178 |
</tr>
|
170 |
<?php $this->build_textarea2( LiteSpeed_Cache_Config::ITEM_OPTM_EXCLUDES ) ; ?>
|
171 |
<div class="litespeed-desc">
|
172 |
<?php echo __( 'Prevent any optimization of listed pages.', 'litespeed-cache' ) ; ?>
|
173 |
+
<?php $this->_uri_usage_example() ; ?>
|
|
|
|
|
174 |
</div>
|
175 |
</td>
|
176 |
</tr>
|
inc/const.cls.php
CHANGED
@@ -34,6 +34,8 @@ class LiteSpeed_Cache_Const
|
|
34 |
const ITEM_CACHE_URI_PRIV = 'litespeed-cache_uri_priv' ;
|
35 |
const ITEM_OPTM_EXCLUDES = 'litespeed-optm_excludes' ;
|
36 |
const ITEM_EXCLUDES_URI = 'litespeed-excludes_uri' ;
|
|
|
|
|
37 |
|
38 |
const ITEM_SETTING_MODE = 'litespeed-setting-mode' ;
|
39 |
const ITEM_CRAWLER_HASH = 'litespeed-crawler-hash' ;
|
@@ -260,6 +262,8 @@ class LiteSpeed_Cache_Const
|
|
260 |
self::ITEM_OPTM_EXCLUDES,
|
261 |
self::ITEM_EXCLUDES_URI,
|
262 |
self::ITEM_MEDIA_WEBP_ATTRIBUTE,
|
|
|
|
|
263 |
) ;
|
264 |
}
|
265 |
|
34 |
const ITEM_CACHE_URI_PRIV = 'litespeed-cache_uri_priv' ;
|
35 |
const ITEM_OPTM_EXCLUDES = 'litespeed-optm_excludes' ;
|
36 |
const ITEM_EXCLUDES_URI = 'litespeed-excludes_uri' ;
|
37 |
+
const ITEM_OPTM_CCSS_SEPARATE_POSTTYPE = 'litespeed-optm-ccss-separate_posttype' ;
|
38 |
+
const ITEM_OPTM_CCSS_SEPARATE_URI = 'litespeed-optm-css-separate_uri' ;
|
39 |
|
40 |
const ITEM_SETTING_MODE = 'litespeed-setting-mode' ;
|
41 |
const ITEM_CRAWLER_HASH = 'litespeed-crawler-hash' ;
|
262 |
self::ITEM_OPTM_EXCLUDES,
|
263 |
self::ITEM_EXCLUDES_URI,
|
264 |
self::ITEM_MEDIA_WEBP_ATTRIBUTE,
|
265 |
+
self::ITEM_OPTM_CCSS_SEPARATE_POSTTYPE,
|
266 |
+
self::ITEM_OPTM_CCSS_SEPARATE_URI,
|
267 |
) ;
|
268 |
}
|
269 |
|
inc/css.cls.php
CHANGED
@@ -312,6 +312,24 @@ class LiteSpeed_Cache_CSS
|
|
312 |
$css = 'tag' ;
|
313 |
}
|
314 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
return $css ;
|
316 |
}
|
317 |
|
312 |
$css = 'tag' ;
|
313 |
}
|
314 |
|
315 |
+
// Check if in separate css type option
|
316 |
+
$separate_posttypes = LiteSpeed_Cache_Config::get_instance()->get_item( LiteSpeed_Cache_Config::ITEM_OPTM_CCSS_SEPARATE_POSTTYPE ) ;
|
317 |
+
if ( ! empty( $separate_posttypes ) && in_array( $css, $separate_posttypes ) ) {
|
318 |
+
LiteSpeed_Cache_Log::debug( '[CSS] Hit separate posttype setting [type] ' . $css ) ;
|
319 |
+
|
320 |
+
return $css . '-' . md5( $_SERVER[ 'REQUEST_URI' ] ) ;
|
321 |
+
}
|
322 |
+
|
323 |
+
$separate_uri = LiteSpeed_Cache_Config::get_instance()->get_item( LiteSpeed_Cache_Config::ITEM_OPTM_CCSS_SEPARATE_URI ) ;
|
324 |
+
if ( ! empty( $separate_uri ) ) {
|
325 |
+
$result = LiteSpeed_Cache_Utility::str_hit_array( $_SERVER[ 'REQUEST_URI' ], $separate_uri ) ;
|
326 |
+
if ( $result ) {
|
327 |
+
LiteSpeed_Cache_Log::debug( '[CSS] Hit separate URI setting: ' . $result ) ;
|
328 |
+
|
329 |
+
return $css . '-' . md5( $_SERVER[ 'REQUEST_URI' ] ) ;
|
330 |
+
}
|
331 |
+
}
|
332 |
+
|
333 |
return $css ;
|
334 |
}
|
335 |
|
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.1' ;
|
29 |
|
30 |
const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
|
31 |
|
inc/media.class.php
CHANGED
@@ -907,11 +907,7 @@ eot;
|
|
907 |
}
|
908 |
|
909 |
// Clear placeholder in queue too
|
910 |
-
$
|
911 |
-
$req_summary[ 'queue' ] = array() ;
|
912 |
-
$req_summary[ 'history' ] = array() ;
|
913 |
-
$req_summary[ 'curr_request' ] = 0 ;
|
914 |
-
$this->_save_summary( $req_summary ) ;
|
915 |
|
916 |
LiteSpeed_Cache_Log::debug2( '[Media] Cleared placeholder queue' ) ;
|
917 |
}
|
@@ -992,13 +988,6 @@ eot;
|
|
992 |
$req_summary[ 'last_spent' ] = time() - $req_summary[ 'curr_request' ] ;
|
993 |
$req_summary[ 'last_request' ] = $req_summary[ 'curr_request' ] ;
|
994 |
$req_summary[ 'curr_request' ] = 0 ;
|
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 ) ;
|
907 |
}
|
908 |
|
909 |
// Clear placeholder in queue too
|
910 |
+
$this->_save_summary( array() ) ;
|
|
|
|
|
|
|
|
|
911 |
|
912 |
LiteSpeed_Cache_Log::debug2( '[Media] Cleared placeholder queue' ) ;
|
913 |
}
|
988 |
$req_summary[ 'last_spent' ] = time() - $req_summary[ 'curr_request' ] ;
|
989 |
$req_summary[ 'last_request' ] = $req_summary[ 'curr_request' ] ;
|
990 |
$req_summary[ 'curr_request' ] = 0 ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
991 |
unset( $req_summary[ 'queue' ][ array_search( $size, $req_summary[ 'queue' ] ) ] ) ;
|
992 |
|
993 |
$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.1' ;
|
29 |
|
30 |
const PAGE_EDIT_HTACCESS = 'lscache-edit-htaccess' ;
|
31 |
|
languages/litespeed-cache.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the LiteSpeed Cache package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: LiteSpeed Cache 2.6\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/litespeed-cache\n"
|
7 |
-
"POT-Creation-Date: 2018-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -98,7 +98,7 @@ msgstr ""
|
|
98 |
#: admin/tpl/setting/settings_optimize.php:138
|
99 |
#: admin/tpl/setting/settings_optimize.php:152
|
100 |
#: admin/tpl/setting/settings_optimize.php:153
|
101 |
-
#: admin/tpl/setting/settings_optimize.php:
|
102 |
#: admin/tpl/setting/settings_tuning.php:21
|
103 |
#: admin/tpl/setting/settings_tuning.php:57
|
104 |
msgid "ON"
|
@@ -136,7 +136,7 @@ msgstr ""
|
|
136 |
msgid "Server variable(s) %s available to override this setting."
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: admin/litespeed-cache-admin-display.class.php:
|
140 |
#: admin/litespeed-cache-admin.class.php:229
|
141 |
#: admin/tpl/inc/check_cache_disabled.php:49
|
142 |
#: admin/tpl/inc/img_optm.initialize.php:29
|
@@ -146,7 +146,7 @@ msgstr ""
|
|
146 |
#: admin/tpl/setting/settings_advanced.php:51
|
147 |
#: admin/tpl/setting/settings_advanced.php:63
|
148 |
#: admin/tpl/setting/settings_cache.php:7
|
149 |
-
#: admin/tpl/setting/settings_cache.php:
|
150 |
#: admin/tpl/setting/settings_cdn.php:25
|
151 |
#: admin/tpl/setting/settings_crawler.php:8
|
152 |
#: admin/tpl/setting/settings_debug.php:8 admin/tpl/setting/settings_esi.php:8
|
@@ -162,25 +162,63 @@ msgstr ""
|
|
162 |
#: admin/tpl/setting/settings_media.php:251
|
163 |
#: admin/tpl/setting/settings_optimize.php:10
|
164 |
#: admin/tpl/setting/settings_optimize.php:165
|
165 |
-
#: admin/tpl/setting/settings_optimize.php:237
|
166 |
#: admin/tpl/setting/settings_purge.php:8
|
167 |
#: admin/tpl/setting/settings_tuning.php:8 inc/doc.cls.php:39
|
168 |
msgid "Learn More"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: admin/litespeed-cache-admin-display.class.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
172 |
msgid "%s groups"
|
173 |
msgstr ""
|
174 |
|
175 |
-
#: admin/litespeed-cache-admin-display.class.php:
|
176 |
msgid "%s images"
|
177 |
msgstr ""
|
178 |
|
179 |
-
#: admin/litespeed-cache-admin-display.class.php:
|
180 |
msgid "%s group"
|
181 |
msgstr ""
|
182 |
|
183 |
-
#: admin/litespeed-cache-admin-display.class.php:
|
184 |
msgid "%s image"
|
185 |
msgstr ""
|
186 |
|
@@ -428,13 +466,13 @@ msgstr ""
|
|
428 |
msgid "Failed to push to LiteSpeed server: %s"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: admin/litespeed-cache-admin-rules.class.php:
|
432 |
msgid ""
|
433 |
"<p>Please add/replace the following codes into the beginning of %1$s:</p> "
|
434 |
"%2$s"
|
435 |
msgstr ""
|
436 |
|
437 |
-
#: admin/litespeed-cache-admin-rules.class.php:
|
438 |
msgid "File Saved."
|
439 |
msgstr ""
|
440 |
|
@@ -455,7 +493,7 @@ msgid "Site options saved."
|
|
455 |
msgstr ""
|
456 |
|
457 |
#: admin/litespeed-cache-admin-settings.class.php:357
|
458 |
-
#: admin/litespeed-cache-admin-settings.class.php:
|
459 |
msgid "Default Public Cache"
|
460 |
msgstr ""
|
461 |
|
@@ -471,30 +509,30 @@ msgstr ""
|
|
471 |
msgid "Feed"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: admin/litespeed-cache-admin-settings.class.php:
|
475 |
#: admin/tpl/setting/settings_debug.php:88
|
476 |
msgid "Log File Size Limit"
|
477 |
msgstr ""
|
478 |
|
479 |
-
#: admin/litespeed-cache-admin-settings.class.php:
|
480 |
#: admin/tpl/setting/settings_crawler.php:13
|
481 |
msgid "Delay"
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: admin/litespeed-cache-admin-settings.class.php:
|
485 |
#: admin/tpl/setting/settings_crawler.php:37
|
486 |
msgid "Run Duration"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: admin/litespeed-cache-admin-settings.class.php:
|
490 |
msgid "Cron Interval"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: admin/litespeed-cache-admin-settings.class.php:
|
494 |
msgid "Whole Interval"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: admin/litespeed-cache-admin-settings.class.php:
|
498 |
#: admin/tpl/setting/settings_crawler.php:73
|
499 |
msgid "Threads"
|
500 |
msgstr ""
|
@@ -873,7 +911,7 @@ msgstr ""
|
|
873 |
msgid "Rate %s on %s"
|
874 |
msgstr ""
|
875 |
|
876 |
-
#. #-#-#-#-# litespeed-cache.pot (LiteSpeed Cache 2.6) #-#-#-#-#
|
877 |
#. Plugin Name of the plugin/theme
|
878 |
#: admin/tpl/inc/admin_footer.php:6 inc/gui.class.php:353
|
879 |
#: includes/litespeed-cache-gui.class.php:353
|
@@ -1281,8 +1319,8 @@ msgstr ""
|
|
1281 |
#: admin/tpl/setting/settings_crawler.php:22
|
1282 |
#: admin/tpl/setting/settings_crawler.php:95
|
1283 |
#: admin/tpl/setting/settings_crawler.php:100
|
1284 |
-
#: admin/tpl/setting/settings_excludes.php:
|
1285 |
-
#: admin/tpl/setting/settings_excludes.php:
|
1286 |
#: admin/tpl/setting/settings_inc.cache_browser.php:12
|
1287 |
#: admin/tpl/setting/settings_inc.cache_favicon.php:13
|
1288 |
#: admin/tpl/setting/settings_inc.cache_mobile.php:17
|
@@ -1291,7 +1329,7 @@ msgstr ""
|
|
1291 |
#: admin/tpl/setting/settings_inc.exclude_cookies.php:22
|
1292 |
#: admin/tpl/setting/settings_inc.exclude_useragent.php:21
|
1293 |
#: admin/tpl/setting/settings_inc.media_webp.php:12
|
1294 |
-
#: admin/tpl/setting/settings_optimize.php:
|
1295 |
#: admin/tpl/setting/settings_tuning.php:20
|
1296 |
#: admin/tpl/setting/settings_tuning.php:56
|
1297 |
msgid "NOTE"
|
@@ -1677,32 +1715,6 @@ msgstr ""
|
|
1677 |
msgid "Select below for \"Purge by\" options."
|
1678 |
msgstr ""
|
1679 |
|
1680 |
-
#: admin/tpl/manage/manage_purge.php:152
|
1681 |
-
#: admin/tpl/setting/settings_cache.php:73
|
1682 |
-
#: admin/tpl/setting/settings_cache.php:90
|
1683 |
-
#: admin/tpl/setting/settings_cdn.php:117
|
1684 |
-
#: admin/tpl/setting/settings_cdn.php:145
|
1685 |
-
#: admin/tpl/setting/settings_cdn.php:157
|
1686 |
-
#: admin/tpl/setting/settings_crawler.php:132
|
1687 |
-
#: admin/tpl/setting/settings_excludes.php:25
|
1688 |
-
#: admin/tpl/setting/settings_excludes.php:43
|
1689 |
-
#: admin/tpl/setting/settings_excludes.php:57
|
1690 |
-
#: admin/tpl/setting/settings_excludes.php:80
|
1691 |
-
#: admin/tpl/setting/settings_excludes.php:118
|
1692 |
-
#: admin/tpl/setting/settings_inc.cache_object.php:114
|
1693 |
-
#: admin/tpl/setting/settings_inc.cache_object.php:122
|
1694 |
-
#: admin/tpl/setting/settings_inc.exclude_cookies.php:19
|
1695 |
-
#: admin/tpl/setting/settings_media.php:36
|
1696 |
-
#: admin/tpl/setting/settings_media.php:240
|
1697 |
-
#: admin/tpl/setting/settings_optimize.php:236
|
1698 |
-
#: admin/tpl/setting/settings_purge.php:85
|
1699 |
-
#: admin/tpl/setting/settings_tuning.php:38
|
1700 |
-
#: admin/tpl/setting/settings_tuning.php:74
|
1701 |
-
#: admin/tpl/setting/settings_tuning.php:146
|
1702 |
-
#: admin/tpl/setting/settings_tuning.php:175
|
1703 |
-
msgid "One per line."
|
1704 |
-
msgstr ""
|
1705 |
-
|
1706 |
#: admin/tpl/manage/manage_purge.php:179
|
1707 |
msgid "Category"
|
1708 |
msgstr ""
|
@@ -1993,40 +2005,15 @@ msgstr ""
|
|
1993 |
msgid "URI Paths containing these strings will NOT be cached as public."
|
1994 |
msgstr ""
|
1995 |
|
1996 |
-
#: admin/tpl/setting/settings_cache.php:
|
1997 |
-
#: admin/tpl/setting/settings_excludes.php:19
|
1998 |
-
#: admin/tpl/setting/settings_excludes.php:37
|
1999 |
-
msgid "The URLs will be compared to the REQUEST_URI server variable."
|
2000 |
-
msgstr ""
|
2001 |
-
|
2002 |
-
#: admin/tpl/setting/settings_cache.php:68
|
2003 |
-
#: admin/tpl/setting/settings_excludes.php:20
|
2004 |
-
#: admin/tpl/setting/settings_excludes.php:38
|
2005 |
-
#: admin/tpl/setting/settings_tuning.php:174
|
2006 |
-
msgid "For example, for %s, %s can be used here."
|
2007 |
-
msgstr ""
|
2008 |
-
|
2009 |
-
#: admin/tpl/setting/settings_cache.php:71
|
2010 |
-
#: admin/tpl/setting/settings_excludes.php:23
|
2011 |
-
#: admin/tpl/setting/settings_excludes.php:41
|
2012 |
-
msgid "To match the beginning, add %s to the beginning of the item."
|
2013 |
-
msgstr ""
|
2014 |
-
|
2015 |
-
#: admin/tpl/setting/settings_cache.php:72
|
2016 |
-
#: admin/tpl/setting/settings_excludes.php:24
|
2017 |
-
#: admin/tpl/setting/settings_excludes.php:42
|
2018 |
-
msgid "To do an exact match, add %s to the end of the URL."
|
2019 |
-
msgstr ""
|
2020 |
-
|
2021 |
-
#: admin/tpl/setting/settings_cache.php:80
|
2022 |
msgid "Drop Query String"
|
2023 |
msgstr ""
|
2024 |
|
2025 |
-
#: admin/tpl/setting/settings_cache.php:
|
2026 |
msgid "Ignore certain query strings when caching."
|
2027 |
msgstr ""
|
2028 |
|
2029 |
-
#: admin/tpl/setting/settings_cache.php:
|
2030 |
msgid "For example, to drop parameters beginning with %s, %s can be used here."
|
2031 |
msgstr ""
|
2032 |
|
@@ -2611,78 +2598,78 @@ msgid ""
|
|
2611 |
"settings."
|
2612 |
msgstr ""
|
2613 |
|
2614 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2615 |
msgid "Do Not Cache URIs"
|
2616 |
msgstr ""
|
2617 |
|
2618 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2619 |
msgid "Paths containing these strings will not be cached."
|
2620 |
msgstr ""
|
2621 |
|
2622 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2623 |
msgid "Do Not Cache Query Strings"
|
2624 |
msgstr ""
|
2625 |
|
2626 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2627 |
msgid "Query string containing these parameters will not be cached."
|
2628 |
msgstr ""
|
2629 |
|
2630 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2631 |
msgid "For example, for %s, %s and %s can be used here."
|
2632 |
msgstr ""
|
2633 |
|
2634 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2635 |
msgid "Do Not Cache Categories"
|
2636 |
msgstr ""
|
2637 |
|
2638 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2639 |
msgid "All categories are cached by default."
|
2640 |
msgstr ""
|
2641 |
|
2642 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2643 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2644 |
#: admin/tpl/setting/settings_inc.exclude_cookies.php:16
|
2645 |
#: admin/tpl/setting/settings_inc.exclude_useragent.php:15
|
2646 |
msgid "To prevent %s from being cached, enter it here."
|
2647 |
msgstr ""
|
2648 |
|
2649 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2650 |
msgid "categories"
|
2651 |
msgstr ""
|
2652 |
|
2653 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2654 |
msgid ""
|
2655 |
"If the category slug is not found, the category will be removed from the "
|
2656 |
"list on save."
|
2657 |
msgstr ""
|
2658 |
|
2659 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2660 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2661 |
msgid "To exclude %1$s, insert %2$s."
|
2662 |
msgstr ""
|
2663 |
|
2664 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2665 |
msgid "Do Not Cache Tags"
|
2666 |
msgstr ""
|
2667 |
|
2668 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2669 |
msgid "All tags are cached by default."
|
2670 |
msgstr ""
|
2671 |
|
2672 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2673 |
msgid "tags"
|
2674 |
msgstr ""
|
2675 |
|
2676 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2677 |
msgid ""
|
2678 |
"If the tag slug is not found, the tag will be removed from the list on save."
|
2679 |
msgstr ""
|
2680 |
|
2681 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2682 |
msgid "Do Not Cache Roles"
|
2683 |
msgstr ""
|
2684 |
|
2685 |
-
#: admin/tpl/setting/settings_excludes.php:
|
2686 |
msgid "Selected roles will be excluded from cache."
|
2687 |
msgstr ""
|
2688 |
|
@@ -3194,7 +3181,6 @@ msgstr ""
|
|
3194 |
#: admin/tpl/setting/settings_tuning.php:37
|
3195 |
#: admin/tpl/setting/settings_tuning.php:73
|
3196 |
#: admin/tpl/setting/settings_tuning.php:145
|
3197 |
-
#: admin/tpl/setting/settings_tuning.php:173
|
3198 |
msgid "Both full URLs and partial strings can be used."
|
3199 |
msgstr ""
|
3200 |
|
@@ -3315,8 +3301,8 @@ msgstr ""
|
|
3315 |
|
3316 |
#: admin/tpl/setting/settings_media.php:137
|
3317 |
#: admin/tpl/setting/settings_optimize.php:137
|
3318 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3319 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3320 |
#: admin/tpl/setting/settings_tuning.php:103
|
3321 |
#: admin/tpl/setting/settings_tuning.php:162
|
3322 |
msgid ""
|
@@ -3481,7 +3467,7 @@ msgid "Minify JS files."
|
|
3481 |
msgstr ""
|
3482 |
|
3483 |
#: admin/tpl/setting/settings_optimize.php:69
|
3484 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3485 |
msgid "JS Combine"
|
3486 |
msgstr ""
|
3487 |
|
@@ -3580,54 +3566,81 @@ msgid "URL list in queue waiting for cron"
|
|
3580 |
msgstr ""
|
3581 |
|
3582 |
#: admin/tpl/setting/settings_optimize.php:195
|
3583 |
-
msgid "
|
3584 |
msgstr ""
|
3585 |
|
3586 |
#: admin/tpl/setting/settings_optimize.php:199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3587 |
msgid "This will inline the asynchronous CSS library to avoid render blocking."
|
3588 |
msgstr ""
|
3589 |
|
3590 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3591 |
msgid "Load JS Deferred"
|
3592 |
msgstr ""
|
3593 |
|
3594 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3595 |
msgid "Doing so can help reduce resource contention and improve performance."
|
3596 |
msgstr ""
|
3597 |
|
3598 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3599 |
msgid "Exclude JQuery"
|
3600 |
msgstr ""
|
3601 |
|
3602 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3603 |
msgid ""
|
3604 |
"Improve compatibility with inline JS by preventing jQuery optimization. "
|
3605 |
"(Recommended Setting: %s)"
|
3606 |
msgstr ""
|
3607 |
|
3608 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3609 |
msgid ""
|
3610 |
"If there is any JS error related to %1$s when enabled %2$s, please turn on "
|
3611 |
"this option."
|
3612 |
msgstr ""
|
3613 |
|
3614 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3615 |
msgid "DNS Prefetch"
|
3616 |
msgstr ""
|
3617 |
|
3618 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3619 |
msgid "Prefetching DNS can reduce latency for visiters."
|
3620 |
msgstr ""
|
3621 |
|
3622 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3623 |
msgid "For example"
|
3624 |
msgstr ""
|
3625 |
|
3626 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3627 |
msgid "Remove Comments"
|
3628 |
msgstr ""
|
3629 |
|
3630 |
-
#: admin/tpl/setting/settings_optimize.php:
|
3631 |
msgid "Remove the comments inside of JS/CSS files when minifying."
|
3632 |
msgstr ""
|
3633 |
|
@@ -3882,11 +3895,11 @@ msgstr ""
|
|
3882 |
msgid "Prevent any optimization of listed pages."
|
3883 |
msgstr ""
|
3884 |
|
3885 |
-
#: admin/tpl/setting/settings_tuning.php:
|
3886 |
msgid "Role Excludes"
|
3887 |
msgstr ""
|
3888 |
|
3889 |
-
#: admin/tpl/setting/settings_tuning.php:
|
3890 |
msgid "Selected roles will be excluded from all optimizations."
|
3891 |
msgstr ""
|
3892 |
|
2 |
# This file is distributed under the same license as the LiteSpeed Cache package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: LiteSpeed Cache 2.6.1\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/litespeed-cache\n"
|
7 |
+
"POT-Creation-Date: 2018-10-04 18:56:42+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
98 |
#: admin/tpl/setting/settings_optimize.php:138
|
99 |
#: admin/tpl/setting/settings_optimize.php:152
|
100 |
#: admin/tpl/setting/settings_optimize.php:153
|
101 |
+
#: admin/tpl/setting/settings_optimize.php:243
|
102 |
#: admin/tpl/setting/settings_tuning.php:21
|
103 |
#: admin/tpl/setting/settings_tuning.php:57
|
104 |
msgid "ON"
|
136 |
msgid "Server variable(s) %s available to override this setting."
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: admin/litespeed-cache-admin-display.class.php:968
|
140 |
#: admin/litespeed-cache-admin.class.php:229
|
141 |
#: admin/tpl/inc/check_cache_disabled.php:49
|
142 |
#: admin/tpl/inc/img_optm.initialize.php:29
|
146 |
#: admin/tpl/setting/settings_advanced.php:51
|
147 |
#: admin/tpl/setting/settings_advanced.php:63
|
148 |
#: admin/tpl/setting/settings_cache.php:7
|
149 |
+
#: admin/tpl/setting/settings_cache.php:79
|
150 |
#: admin/tpl/setting/settings_cdn.php:25
|
151 |
#: admin/tpl/setting/settings_crawler.php:8
|
152 |
#: admin/tpl/setting/settings_debug.php:8 admin/tpl/setting/settings_esi.php:8
|
162 |
#: admin/tpl/setting/settings_media.php:251
|
163 |
#: admin/tpl/setting/settings_optimize.php:10
|
164 |
#: admin/tpl/setting/settings_optimize.php:165
|
|
|
165 |
#: admin/tpl/setting/settings_purge.php:8
|
166 |
#: admin/tpl/setting/settings_tuning.php:8 inc/doc.cls.php:39
|
167 |
msgid "Learn More"
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: admin/litespeed-cache-admin-display.class.php:979
|
171 |
+
msgid "The URLs will be compared to the REQUEST_URI server variable."
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: admin/litespeed-cache-admin-display.class.php:980
|
175 |
+
msgid "For example, for %s, %s can be used here."
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: admin/litespeed-cache-admin-display.class.php:982
|
179 |
+
msgid "To match the beginning, add %s to the beginning of the item."
|
180 |
+
msgstr ""
|
181 |
+
|
182 |
+
#: admin/litespeed-cache-admin-display.class.php:983
|
183 |
+
msgid "To do an exact match, add %s to the end of the URL."
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
+
#: admin/litespeed-cache-admin-display.class.php:984
|
187 |
+
#: admin/tpl/manage/manage_purge.php:152
|
188 |
+
#: admin/tpl/setting/settings_cache.php:83
|
189 |
+
#: admin/tpl/setting/settings_cdn.php:117
|
190 |
+
#: admin/tpl/setting/settings_cdn.php:145
|
191 |
+
#: admin/tpl/setting/settings_cdn.php:157
|
192 |
+
#: admin/tpl/setting/settings_crawler.php:132
|
193 |
+
#: admin/tpl/setting/settings_excludes.php:43
|
194 |
+
#: admin/tpl/setting/settings_excludes.php:66
|
195 |
+
#: admin/tpl/setting/settings_excludes.php:104
|
196 |
+
#: admin/tpl/setting/settings_inc.cache_object.php:114
|
197 |
+
#: admin/tpl/setting/settings_inc.cache_object.php:122
|
198 |
+
#: admin/tpl/setting/settings_inc.exclude_cookies.php:19
|
199 |
+
#: admin/tpl/setting/settings_media.php:36
|
200 |
+
#: admin/tpl/setting/settings_media.php:240
|
201 |
+
#: admin/tpl/setting/settings_optimize.php:259
|
202 |
+
#: admin/tpl/setting/settings_purge.php:85
|
203 |
+
#: admin/tpl/setting/settings_tuning.php:38
|
204 |
+
#: admin/tpl/setting/settings_tuning.php:74
|
205 |
+
#: admin/tpl/setting/settings_tuning.php:146
|
206 |
+
msgid "One per line."
|
207 |
+
msgstr ""
|
208 |
+
|
209 |
+
#: admin/litespeed-cache-admin-display.class.php:999
|
210 |
msgid "%s groups"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: admin/litespeed-cache-admin-display.class.php:1002
|
214 |
msgid "%s images"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: admin/litespeed-cache-admin-display.class.php:1012
|
218 |
msgid "%s group"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: admin/litespeed-cache-admin-display.class.php:1015
|
222 |
msgid "%s image"
|
223 |
msgstr ""
|
224 |
|
466 |
msgid "Failed to push to LiteSpeed server: %s"
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: admin/litespeed-cache-admin-rules.class.php:919
|
470 |
msgid ""
|
471 |
"<p>Please add/replace the following codes into the beginning of %1$s:</p> "
|
472 |
"%2$s"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: admin/litespeed-cache-admin-rules.class.php:1021
|
476 |
msgid "File Saved."
|
477 |
msgstr ""
|
478 |
|
493 |
msgstr ""
|
494 |
|
495 |
#: admin/litespeed-cache-admin-settings.class.php:357
|
496 |
+
#: admin/litespeed-cache-admin-settings.class.php:1063
|
497 |
msgid "Default Public Cache"
|
498 |
msgstr ""
|
499 |
|
509 |
msgid "Feed"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: admin/litespeed-cache-admin-settings.class.php:901
|
513 |
#: admin/tpl/setting/settings_debug.php:88
|
514 |
msgid "Log File Size Limit"
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: admin/litespeed-cache-admin-settings.class.php:986
|
518 |
#: admin/tpl/setting/settings_crawler.php:13
|
519 |
msgid "Delay"
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: admin/litespeed-cache-admin-settings.class.php:987
|
523 |
#: admin/tpl/setting/settings_crawler.php:37
|
524 |
msgid "Run Duration"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: admin/litespeed-cache-admin-settings.class.php:988
|
528 |
msgid "Cron Interval"
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: admin/litespeed-cache-admin-settings.class.php:989
|
532 |
msgid "Whole Interval"
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: admin/litespeed-cache-admin-settings.class.php:990
|
536 |
#: admin/tpl/setting/settings_crawler.php:73
|
537 |
msgid "Threads"
|
538 |
msgstr ""
|
911 |
msgid "Rate %s on %s"
|
912 |
msgstr ""
|
913 |
|
914 |
+
#. #-#-#-#-# litespeed-cache.pot (LiteSpeed Cache 2.6.1) #-#-#-#-#
|
915 |
#. Plugin Name of the plugin/theme
|
916 |
#: admin/tpl/inc/admin_footer.php:6 inc/gui.class.php:353
|
917 |
#: includes/litespeed-cache-gui.class.php:353
|
1319 |
#: admin/tpl/setting/settings_crawler.php:22
|
1320 |
#: admin/tpl/setting/settings_crawler.php:95
|
1321 |
#: admin/tpl/setting/settings_crawler.php:100
|
1322 |
+
#: admin/tpl/setting/settings_excludes.php:70
|
1323 |
+
#: admin/tpl/setting/settings_excludes.php:108
|
1324 |
#: admin/tpl/setting/settings_inc.cache_browser.php:12
|
1325 |
#: admin/tpl/setting/settings_inc.cache_favicon.php:13
|
1326 |
#: admin/tpl/setting/settings_inc.cache_mobile.php:17
|
1329 |
#: admin/tpl/setting/settings_inc.exclude_cookies.php:22
|
1330 |
#: admin/tpl/setting/settings_inc.exclude_useragent.php:21
|
1331 |
#: admin/tpl/setting/settings_inc.media_webp.php:12
|
1332 |
+
#: admin/tpl/setting/settings_optimize.php:245
|
1333 |
#: admin/tpl/setting/settings_tuning.php:20
|
1334 |
#: admin/tpl/setting/settings_tuning.php:56
|
1335 |
msgid "NOTE"
|
1715 |
msgid "Select below for \"Purge by\" options."
|
1716 |
msgstr ""
|
1717 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1718 |
#: admin/tpl/manage/manage_purge.php:179
|
1719 |
msgid "Category"
|
1720 |
msgstr ""
|
2005 |
msgid "URI Paths containing these strings will NOT be cached as public."
|
2006 |
msgstr ""
|
2007 |
|
2008 |
+
#: admin/tpl/setting/settings_cache.php:73
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009 |
msgid "Drop Query String"
|
2010 |
msgstr ""
|
2011 |
|
2012 |
+
#: admin/tpl/setting/settings_cache.php:77
|
2013 |
msgid "Ignore certain query strings when caching."
|
2014 |
msgstr ""
|
2015 |
|
2016 |
+
#: admin/tpl/setting/settings_cache.php:78
|
2017 |
msgid "For example, to drop parameters beginning with %s, %s can be used here."
|
2018 |
msgstr ""
|
2019 |
|
2598 |
"settings."
|
2599 |
msgstr ""
|
2600 |
|
2601 |
+
#: admin/tpl/setting/settings_excludes.php:25
|
2602 |
msgid "Do Not Cache URIs"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: admin/tpl/setting/settings_excludes.php:29
|
2606 |
msgid "Paths containing these strings will not be cached."
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: admin/tpl/setting/settings_excludes.php:36
|
2610 |
msgid "Do Not Cache Query Strings"
|
2611 |
msgstr ""
|
2612 |
|
2613 |
+
#: admin/tpl/setting/settings_excludes.php:40
|
2614 |
msgid "Query string containing these parameters will not be cached."
|
2615 |
msgstr ""
|
2616 |
|
2617 |
+
#: admin/tpl/setting/settings_excludes.php:41
|
2618 |
msgid "For example, for %s, %s and %s can be used here."
|
2619 |
msgstr ""
|
2620 |
|
2621 |
+
#: admin/tpl/setting/settings_excludes.php:50
|
2622 |
msgid "Do Not Cache Categories"
|
2623 |
msgstr ""
|
2624 |
|
2625 |
+
#: admin/tpl/setting/settings_excludes.php:63
|
2626 |
msgid "All categories are cached by default."
|
2627 |
msgstr ""
|
2628 |
|
2629 |
+
#: admin/tpl/setting/settings_excludes.php:64
|
2630 |
+
#: admin/tpl/setting/settings_excludes.php:102
|
2631 |
#: admin/tpl/setting/settings_inc.exclude_cookies.php:16
|
2632 |
#: admin/tpl/setting/settings_inc.exclude_useragent.php:15
|
2633 |
msgid "To prevent %s from being cached, enter it here."
|
2634 |
msgstr ""
|
2635 |
|
2636 |
+
#: admin/tpl/setting/settings_excludes.php:64
|
2637 |
msgid "categories"
|
2638 |
msgstr ""
|
2639 |
|
2640 |
+
#: admin/tpl/setting/settings_excludes.php:72
|
2641 |
msgid ""
|
2642 |
"If the category slug is not found, the category will be removed from the "
|
2643 |
"list on save."
|
2644 |
msgstr ""
|
2645 |
|
2646 |
+
#: admin/tpl/setting/settings_excludes.php:73
|
2647 |
+
#: admin/tpl/setting/settings_excludes.php:111
|
2648 |
msgid "To exclude %1$s, insert %2$s."
|
2649 |
msgstr ""
|
2650 |
|
2651 |
+
#: admin/tpl/setting/settings_excludes.php:81
|
2652 |
msgid "Do Not Cache Tags"
|
2653 |
msgstr ""
|
2654 |
|
2655 |
+
#: admin/tpl/setting/settings_excludes.php:101
|
2656 |
msgid "All tags are cached by default."
|
2657 |
msgstr ""
|
2658 |
|
2659 |
+
#: admin/tpl/setting/settings_excludes.php:102
|
2660 |
msgid "tags"
|
2661 |
msgstr ""
|
2662 |
|
2663 |
+
#: admin/tpl/setting/settings_excludes.php:110
|
2664 |
msgid ""
|
2665 |
"If the tag slug is not found, the tag will be removed from the list on save."
|
2666 |
msgstr ""
|
2667 |
|
2668 |
+
#: admin/tpl/setting/settings_excludes.php:131
|
2669 |
msgid "Do Not Cache Roles"
|
2670 |
msgstr ""
|
2671 |
|
2672 |
+
#: admin/tpl/setting/settings_excludes.php:137
|
2673 |
msgid "Selected roles will be excluded from cache."
|
2674 |
msgstr ""
|
2675 |
|
3181 |
#: admin/tpl/setting/settings_tuning.php:37
|
3182 |
#: admin/tpl/setting/settings_tuning.php:73
|
3183 |
#: admin/tpl/setting/settings_tuning.php:145
|
|
|
3184 |
msgid "Both full URLs and partial strings can be used."
|
3185 |
msgstr ""
|
3186 |
|
3301 |
|
3302 |
#: admin/tpl/setting/settings_media.php:137
|
3303 |
#: admin/tpl/setting/settings_optimize.php:137
|
3304 |
+
#: admin/tpl/setting/settings_optimize.php:233
|
3305 |
+
#: admin/tpl/setting/settings_optimize.php:271
|
3306 |
#: admin/tpl/setting/settings_tuning.php:103
|
3307 |
#: admin/tpl/setting/settings_tuning.php:162
|
3308 |
msgid ""
|
3467 |
msgstr ""
|
3468 |
|
3469 |
#: admin/tpl/setting/settings_optimize.php:69
|
3470 |
+
#: admin/tpl/setting/settings_optimize.php:246
|
3471 |
msgid "JS Combine"
|
3472 |
msgstr ""
|
3473 |
|
3566 |
msgstr ""
|
3567 |
|
3568 |
#: admin/tpl/setting/settings_optimize.php:195
|
3569 |
+
msgid "Separate CCSS Cache Post Types"
|
3570 |
msgstr ""
|
3571 |
|
3572 |
#: admin/tpl/setting/settings_optimize.php:199
|
3573 |
+
msgid ""
|
3574 |
+
"List post types where each item of that type should have its own CCSS "
|
3575 |
+
"generated."
|
3576 |
+
msgstr ""
|
3577 |
+
|
3578 |
+
#: admin/tpl/setting/settings_optimize.php:200
|
3579 |
+
msgid ""
|
3580 |
+
"For example, if every Page on the site has different formatting, enter %s in "
|
3581 |
+
"the box. Separate critical CSS files will be stored for every Page on the "
|
3582 |
+
"site."
|
3583 |
+
msgstr ""
|
3584 |
+
|
3585 |
+
#: admin/tpl/setting/settings_optimize.php:207
|
3586 |
+
msgid "Separate CCSS Cache URIs"
|
3587 |
+
msgstr ""
|
3588 |
+
|
3589 |
+
#: admin/tpl/setting/settings_optimize.php:211
|
3590 |
+
msgid ""
|
3591 |
+
"Separate critical CSS files will be generated for paths containing these "
|
3592 |
+
"strings."
|
3593 |
+
msgstr ""
|
3594 |
+
|
3595 |
+
#: admin/tpl/setting/settings_optimize.php:218
|
3596 |
+
msgid "Inline CSS Async Lib"
|
3597 |
+
msgstr ""
|
3598 |
+
|
3599 |
+
#: admin/tpl/setting/settings_optimize.php:222
|
3600 |
msgid "This will inline the asynchronous CSS library to avoid render blocking."
|
3601 |
msgstr ""
|
3602 |
|
3603 |
+
#: admin/tpl/setting/settings_optimize.php:228
|
3604 |
msgid "Load JS Deferred"
|
3605 |
msgstr ""
|
3606 |
|
3607 |
+
#: admin/tpl/setting/settings_optimize.php:232
|
3608 |
msgid "Doing so can help reduce resource contention and improve performance."
|
3609 |
msgstr ""
|
3610 |
|
3611 |
+
#: admin/tpl/setting/settings_optimize.php:239
|
3612 |
msgid "Exclude JQuery"
|
3613 |
msgstr ""
|
3614 |
|
3615 |
+
#: admin/tpl/setting/settings_optimize.php:243
|
3616 |
msgid ""
|
3617 |
"Improve compatibility with inline JS by preventing jQuery optimization. "
|
3618 |
"(Recommended Setting: %s)"
|
3619 |
msgstr ""
|
3620 |
|
3621 |
+
#: admin/tpl/setting/settings_optimize.php:246
|
3622 |
msgid ""
|
3623 |
"If there is any JS error related to %1$s when enabled %2$s, please turn on "
|
3624 |
"this option."
|
3625 |
msgstr ""
|
3626 |
|
3627 |
+
#: admin/tpl/setting/settings_optimize.php:253
|
3628 |
msgid "DNS Prefetch"
|
3629 |
msgstr ""
|
3630 |
|
3631 |
+
#: admin/tpl/setting/settings_optimize.php:257
|
3632 |
msgid "Prefetching DNS can reduce latency for visiters."
|
3633 |
msgstr ""
|
3634 |
|
3635 |
+
#: admin/tpl/setting/settings_optimize.php:258
|
3636 |
msgid "For example"
|
3637 |
msgstr ""
|
3638 |
|
3639 |
+
#: admin/tpl/setting/settings_optimize.php:266
|
3640 |
msgid "Remove Comments"
|
3641 |
msgstr ""
|
3642 |
|
3643 |
+
#: admin/tpl/setting/settings_optimize.php:270
|
3644 |
msgid "Remove the comments inside of JS/CSS files when minifying."
|
3645 |
msgstr ""
|
3646 |
|
3895 |
msgid "Prevent any optimization of listed pages."
|
3896 |
msgstr ""
|
3897 |
|
3898 |
+
#: admin/tpl/setting/settings_tuning.php:179
|
3899 |
msgid "Role Excludes"
|
3900 |
msgstr ""
|
3901 |
|
3902 |
+
#: admin/tpl/setting/settings_tuning.php:185
|
3903 |
msgid "Selected roles will be excluded from all optimizations."
|
3904 |
msgstr ""
|
3905 |
|
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.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,11 @@ Click on the `Advanced View` link at the top of the page, and several more tabs
|
|
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 |
|
@@ -293,7 +298,7 @@ Click on the `Advanced View` link at the top of the page, and several more tabs
|
|
293 |
* 🐞: Fixed issue where enabling remote JQuery caused missing jquery-migrate library error.
|
294 |
|
295 |
= 2.5.1 - Sep 11 2018 =
|
296 |
-
*
|
297 |
* Changed CSS::ccss_realpath function scope to private.
|
298 |
* 🐞 Detected JS filetype before optimizing to avoid PHP source conflict. (@closte #50)
|
299 |
|
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.1
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
9 |
|
275 |
|
276 |
== Changelog ==
|
277 |
|
278 |
+
= 2.6.1 - Oct 4 2018 =
|
279 |
+
* 🌱 Ability to generate separate Critical CSS Cache for Post Types & URIs.
|
280 |
+
* <strong>API</strong>: Filter `litespeed_frontend_htaccess` for frontend htaccess path.
|
281 |
+
* <strong>Media</strong>: Removed responsive placeholder generation history to save space.
|
282 |
+
|
283 |
= 2.6.0.1 - Sep 24 2018 =
|
284 |
* 🔥🐞: Fixed an issue in responsive placeholder generation where redundant history data was being saved and using a lot of space.
|
285 |
|
298 |
* 🐞: Fixed issue where enabling remote JQuery caused missing jquery-migrate library error.
|
299 |
|
300 |
= 2.5.1 - Sep 11 2018 =
|
301 |
+
* 🌱 Responsive placeholder. (@szmigieldesign)
|
302 |
* Changed CSS::ccss_realpath function scope to private.
|
303 |
* 🐞 Detected JS filetype before optimizing to avoid PHP source conflict. (@closte #50)
|
304 |
|