Edit File by line
/home/zeestwma/ajeebong.../wp-conte.../plugins/litespee.../tpl/cache
File: settings-advanced.tpl.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Advanced Settings Template
[2] Fix | Delete
*
[3] Fix | Delete
* @package LiteSpeed
[4] Fix | Delete
* @since 1.0.0
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
namespace LiteSpeed;
[8] Fix | Delete
[9] Fix | Delete
defined( 'WPINC' ) || exit;
[10] Fix | Delete
[11] Fix | Delete
?>
[12] Fix | Delete
[13] Fix | Delete
<h3 class="litespeed-title-short">
[14] Fix | Delete
<?php esc_html_e( 'Advanced Settings', 'litespeed-cache' ); ?>
[15] Fix | Delete
<?php Doc::learn_more( esc_url( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#advanced-tab' ) ); ?>
[16] Fix | Delete
</h3>
[17] Fix | Delete
[18] Fix | Delete
<div class="litespeed-callout notice notice-warning inline">
[19] Fix | Delete
<h4><?php esc_html_e( 'NOTICE:', 'litespeed-cache' ); ?></h4>
[20] Fix | Delete
<p><?php esc_html_e( 'These settings are meant for ADVANCED USERS ONLY.', 'litespeed-cache' ); ?></p>
[21] Fix | Delete
</div>
[22] Fix | Delete
[23] Fix | Delete
<table class="wp-list-table striped litespeed-table">
[24] Fix | Delete
<tbody>
[25] Fix | Delete
<tr>
[26] Fix | Delete
<th scope="row">
[27] Fix | Delete
<?php $option_id = Base::O_CACHE_AJAX_TTL; ?>
[28] Fix | Delete
<?php $this->title( $option_id ); ?>
[29] Fix | Delete
</th>
[30] Fix | Delete
<td>
[31] Fix | Delete
<div class="litespeed-textarea-recommended">
[32] Fix | Delete
<div>
[33] Fix | Delete
<?php $this->build_textarea( $option_id, 60 ); ?>
[34] Fix | Delete
</div>
[35] Fix | Delete
</div>
[36] Fix | Delete
<div class="litespeed-desc">
[37] Fix | Delete
<?php esc_html_e( 'Specify an AJAX action in POST/GET and the number of seconds to cache that request, separated by a space.', 'litespeed-cache' ); ?>
[38] Fix | Delete
<?php Doc::one_per_line(); ?>
[39] Fix | Delete
</div>
[40] Fix | Delete
</td>
[41] Fix | Delete
</tr>
[42] Fix | Delete
[43] Fix | Delete
<?php if ( ! $this->_is_multisite ) : ?>
[44] Fix | Delete
<?php require LSCWP_DIR . 'tpl/cache/settings_inc.login_cookie.tpl.php'; ?>
[45] Fix | Delete
<?php endif; ?>
[46] Fix | Delete
[47] Fix | Delete
<tr>
[48] Fix | Delete
<th scope="row">
[49] Fix | Delete
<?php $option_id = Base::O_UTIL_NO_HTTPS_VARY; ?>
[50] Fix | Delete
<?php $this->title( $option_id ); ?>
[51] Fix | Delete
</th>
[52] Fix | Delete
<td>
[53] Fix | Delete
<?php $this->build_switch( $option_id ); ?>
[54] Fix | Delete
<div class="litespeed-desc">
[55] Fix | Delete
<?php esc_html_e( 'Enable this option if you are using both HTTP and HTTPS in the same domain and are noticing cache irregularities.', 'litespeed-cache' ); ?>
[56] Fix | Delete
<?php Doc::learn_more( esc_url( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#improve-httphttps-compatibility' ) ); ?>
[57] Fix | Delete
</div>
[58] Fix | Delete
</td>
[59] Fix | Delete
</tr>
[60] Fix | Delete
[61] Fix | Delete
<tr>
[62] Fix | Delete
<th scope="row">
[63] Fix | Delete
<?php $option_id = Base::O_UTIL_INSTANT_CLICK; ?>
[64] Fix | Delete
<?php $this->title( $option_id ); ?>
[65] Fix | Delete
</th>
[66] Fix | Delete
<td>
[67] Fix | Delete
<?php $this->build_switch( $option_id ); ?>
[68] Fix | Delete
<div class="litespeed-desc">
[69] Fix | Delete
<?php esc_html_e( 'When a visitor hovers over a page link, preload that page. This will speed up the visit to that link.', 'litespeed-cache' ); ?>
[70] Fix | Delete
<?php Doc::learn_more( esc_url( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#instant-click' ) ); ?>
[71] Fix | Delete
<br />
[72] Fix | Delete
<span class="litespeed-danger">
[73] Fix | Delete
⚠️
[74] Fix | Delete
<?php esc_html_e( 'This will generate extra requests to the server, which will increase server load.', 'litespeed-cache' ); ?>
[75] Fix | Delete
</span>
[76] Fix | Delete
</div>
[77] Fix | Delete
</td>
[78] Fix | Delete
</tr>
[79] Fix | Delete
</tbody>
[80] Fix | Delete
</table>
[81] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function