HamroKhanpin/hamrokhaanpaan/wp-content/plugins/litespeed-cache/tpl/cache/settings-advanced.tpl.php
2024-04-29 13:12:44 +05:45

58 lines
1.8 KiB
PHP

<?php
namespace LiteSpeed;
defined( 'WPINC' ) || exit;
?>
<h3 class="litespeed-title-short">
<?php echo __( 'Advanced Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#advanced-tab' ); ?>
</h3>
<div class="litespeed-callout notice notice-warning inline">
<h4><?php echo __( 'NOTICE:', 'litespeed-cache' ); ?></h4>
<p><?php echo __( 'These settings are meant for ADVANCED USERS ONLY.', 'litespeed-cache' ); ?></p>
</div>
<table class="wp-list-table striped litespeed-table"><tbody>
<?php
if ( ! $this->_is_multisite ) :
require LSCWP_DIR . 'tpl/cache/settings_inc.login_cookie.tpl.php';
endif;
?>
<tr>
<th>
<?php $id = Base::O_UTIL_NO_HTTPS_VARY; ?>
<?php $this->title( $id ); ?>
</th>
<td>
<?php $this->build_switch( $id ); ?>
<div class="litespeed-desc">
<?php echo __( 'Enable this option if you are using both HTTP and HTTPS in the same domain and are noticing cache irregularities.', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#improve-httphttps-compatibility' ); ?>
</div>
</td>
</tr>
<tr>
<th>
<?php $id = Base::O_UTIL_INSTANT_CLICK; ?>
<?php $this->title( $id ); ?>
</th>
<td>
<?php $this->build_switch( $id ); ?>
<div class="litespeed-desc">
<?php echo __( 'When a visitor hovers over a page link, preload that page. This will speed up the visit to that link.', 'litespeed-cache' ); ?>
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#instant-click' ); ?>
<br /><font class="litespeed-danger">
⚠️
<?php echo __( 'This will generate extra requests to the server, which will increase server load.', 'litespeed-cache' ); ?>
</font>
</div>
</td>
</tr>
</tbody></table>