-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v6.2-a7: * **Cache** Dropped "Cache Favicon.ico" option as it will au…
…to fallback into 404 cache. (Lauren)
- Loading branch information
Hai Zheng
committed
Feb 29, 2024
1 parent
670ae16
commit 52fca24
Showing
15 changed files
with
175 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,6 @@ | |
|
||
["cache-page_login",true] | ||
|
||
["cache-favicon",true] | ||
|
||
["cache-resources",true] | ||
|
||
["cache-mobile",true] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,6 @@ | |
|
||
["cache-page_login",true] | ||
|
||
["cache-favicon",true] | ||
|
||
["cache-resources",true] | ||
|
||
["cache-mobile",true] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,6 @@ | |
|
||
["cache-page_login",true] | ||
|
||
["cache-favicon",true] | ||
|
||
["cache-resources",true] | ||
|
||
["cache-mobile",true] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,6 @@ | |
|
||
["cache-page_login",true] | ||
|
||
["cache-favicon",true] | ||
|
||
["cache-resources",true] | ||
|
||
["cache-mobile",false] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,6 @@ | |
|
||
["cache-page_login",true] | ||
|
||
["cache-favicon",true] | ||
|
||
["cache-resources",true] | ||
|
||
["cache-mobile",true] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
<?php | ||
|
||
namespace LiteSpeed; | ||
defined( 'WPINC' ) || exit; | ||
|
||
defined('WPINC') || exit; | ||
?> | ||
|
||
<h3 class="litespeed-title-short"> | ||
<?php echo __( 'Cache Control Settings', 'litespeed-cache' ); ?> | ||
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/' ); ?> | ||
<?php echo __('Cache Control Settings', 'litespeed-cache'); ?> | ||
<?php Doc::learn_more('https://docs.litespeedtech.com/lscache/lscwp/cache/'); ?> | ||
</h3> | ||
|
||
<table class="wp-list-table striped litespeed-table"><tbody> | ||
<tr> | ||
<th><?php echo __( 'Network Enable Cache', 'litespeed-cache' ); ?></th> | ||
<td> | ||
<?php $this->build_switch( Base::O_CACHE ); ?> | ||
<div class="litespeed-desc"> | ||
<?php echo __('Enabling LiteSpeed Cache for WordPress here enables the cache for the network.', 'litespeed-cache'); ?><br /> | ||
<?php echo __('It is <b>STRONGLY</b> recommend that the compatibility with other plugins on a single/few sites is tested first.', 'litespeed-cache'); ?> | ||
<?php echo __('This is to ensure compatibility prior to enabling the cache for all sites.', 'litespeed-cache'); ?> | ||
</div> | ||
</td> | ||
</tr> | ||
|
||
<?php | ||
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_favicon.tpl.php'; | ||
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_resources.tpl.php'; | ||
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_mobile.tpl.php'; | ||
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_dropquery.tpl.php'; | ||
?> | ||
<table class="wp-list-table striped litespeed-table"> | ||
<tbody> | ||
<tr> | ||
<th><?php echo __('Network Enable Cache', 'litespeed-cache'); ?></th> | ||
<td> | ||
<?php $this->build_switch(Base::O_CACHE); ?> | ||
<div class="litespeed-desc"> | ||
<?php echo __('Enabling LiteSpeed Cache for WordPress here enables the cache for the network.', 'litespeed-cache'); ?><br /> | ||
<?php echo __('It is <b>STRONGLY</b> recommend that the compatibility with other plugins on a single/few sites is tested first.', 'litespeed-cache'); ?> | ||
<?php echo __('This is to ensure compatibility prior to enabling the cache for all sites.', 'litespeed-cache'); ?> | ||
</div> | ||
</td> | ||
</tr> | ||
|
||
</tbody></table> | ||
<?php | ||
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_resources.tpl.php'; | ||
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_mobile.tpl.php'; | ||
require LSCWP_DIR . 'tpl/cache/settings_inc.cache_dropquery.tpl.php'; | ||
?> | ||
|
||
</tbody> | ||
</table> |
Oops, something went wrong.