Edit File by line
/home/zeestwma/ajeebong.../wp-conte.../plugins/litespee.../tpl/cache
File: settings_inc.browser.tpl.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* LiteSpeed Cache Browser Cache Settings
[2] Fix | Delete
*
[3] Fix | Delete
* Displays the browser cache settings section for LiteSpeed Cache.
[4] Fix | Delete
*
[5] Fix | Delete
* @package LiteSpeed
[6] Fix | Delete
* @since 1.0.0
[7] Fix | Delete
*/
[8] Fix | Delete
[9] Fix | Delete
namespace LiteSpeed;
[10] Fix | Delete
[11] Fix | Delete
defined( 'WPINC' ) || exit;
[12] Fix | Delete
?>
[13] Fix | Delete
[14] Fix | Delete
<h3 class="litespeed-title-short">
[15] Fix | Delete
<?php esc_html_e( 'Browser Cache Settings', 'litespeed-cache' ); ?>
[16] Fix | Delete
<?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#browser-tab' ); ?>
[17] Fix | Delete
</h3>
[18] Fix | Delete
[19] Fix | Delete
<?php if ( 'LITESPEED_SERVER_OLS' === LITESPEED_SERVER_TYPE ) : ?>
[20] Fix | Delete
<div class="litespeed-callout notice notice-warning inline">
[21] Fix | Delete
<h4><?php esc_html_e( 'NOTICE:', 'litespeed-cache' ); ?></h4>
[22] Fix | Delete
<p>
[23] Fix | Delete
<?php esc_html_e( 'OpenLiteSpeed users please check this', 'litespeed-cache' ); ?>:
[24] Fix | Delete
<?php Doc::learn_more( 'https://openlitespeed.org/kb/how-to-set-up-custom-headers/', esc_html__( 'Setting Up Custom Headers', 'litespeed-cache' ) ); ?>
[25] Fix | Delete
</p>
[26] Fix | Delete
</div>
[27] Fix | Delete
<?php endif; ?>
[28] Fix | Delete
[29] Fix | Delete
<table class="wp-list-table striped litespeed-table">
[30] Fix | Delete
<tbody>
[31] Fix | Delete
<tr>
[32] Fix | Delete
<th scope="row">
[33] Fix | Delete
<?php $option_id = Base::O_CACHE_BROWSER; ?>
[34] Fix | Delete
<?php $this->title( $option_id ); ?>
[35] Fix | Delete
</th>
[36] Fix | Delete
<td>
[37] Fix | Delete
<?php $this->build_switch( $option_id ); ?>
[38] Fix | Delete
<div class="litespeed-desc">
[39] Fix | Delete
<?php esc_html_e( "Browser caching stores static files locally in the user's browser. Turn on this setting to reduce repeated requests for static files.", 'litespeed-cache' ); ?><br>
[40] Fix | Delete
<?php Doc::notice_htaccess(); ?><br>
[41] Fix | Delete
<?php
[42] Fix | Delete
printf(
[43] Fix | Delete
/* translators: %s: Link tags */
[44] Fix | Delete
esc_html__( 'You can turn on browser caching in server admin too. %sLearn more about LiteSpeed browser cache settings%s.', 'litespeed-cache' ),
[45] Fix | Delete
'<a href="https://docs.litespeedtech.com/lscache/lscwp/cache/#how-to-set-it-up" target="_blank" rel="noopener">',
[46] Fix | Delete
'</a>'
[47] Fix | Delete
);
[48] Fix | Delete
?>
[49] Fix | Delete
</div>
[50] Fix | Delete
</td>
[51] Fix | Delete
</tr>
[52] Fix | Delete
[53] Fix | Delete
<tr>
[54] Fix | Delete
<th scope="row">
[55] Fix | Delete
<?php $option_id = Base::O_CACHE_TTL_BROWSER; ?>
[56] Fix | Delete
<?php $this->title( $option_id ); ?>
[57] Fix | Delete
</th>
[58] Fix | Delete
<td>
[59] Fix | Delete
<?php $this->build_input( $option_id ); ?> <?php $this->readable_seconds(); ?>
[60] Fix | Delete
<div class="litespeed-desc">
[61] Fix | Delete
<?php esc_html_e( 'The amount of time, in seconds, that files will be stored in browser cache before expiring.', 'litespeed-cache' ); ?>
[62] Fix | Delete
<?php $this->recommended( $option_id ); ?>
[63] Fix | Delete
<?php $this->_validate_ttl( $option_id, 30 ); ?>
[64] Fix | Delete
</div>
[65] Fix | Delete
</td>
[66] Fix | Delete
</tr>
[67] Fix | Delete
</tbody>
[68] Fix | Delete
</table>
[69] Fix | Delete
[70] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function