* Advanced Settings Template
defined( 'WPINC' ) || exit;
<h3 class="litespeed-title-short">
<?php esc_html_e( 'Advanced Settings', 'litespeed-cache' ); ?>
<?php Doc::learn_more( esc_url( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#advanced-tab' ) ); ?>
<div class="litespeed-callout notice notice-warning inline">
<h4><?php esc_html_e( 'NOTICE:', 'litespeed-cache' ); ?></h4>
<p><?php esc_html_e( 'These settings are meant for ADVANCED USERS ONLY.', 'litespeed-cache' ); ?></p>
<table class="wp-list-table striped litespeed-table">
<?php $option_id = Base::O_CACHE_AJAX_TTL; ?>
<?php $this->title( $option_id ); ?>
<div class="litespeed-textarea-recommended">
<?php $this->build_textarea( $option_id, 60 ); ?>
<div class="litespeed-desc">
<?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' ); ?>
<?php Doc::one_per_line(); ?>
<?php if ( ! $this->_is_multisite ) : ?>
<?php require LSCWP_DIR . 'tpl/cache/settings_inc.login_cookie.tpl.php'; ?>
<?php $option_id = Base::O_UTIL_NO_HTTPS_VARY; ?>
<?php $this->title( $option_id ); ?>
<?php $this->build_switch( $option_id ); ?>
<div class="litespeed-desc">
<?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' ); ?>
<?php Doc::learn_more( esc_url( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#improve-httphttps-compatibility' ) ); ?>
<?php $option_id = Base::O_UTIL_INSTANT_CLICK; ?>
<?php $this->title( $option_id ); ?>
<?php $this->build_switch( $option_id ); ?>
<div class="litespeed-desc">
<?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' ); ?>
<?php Doc::learn_more( esc_url( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#instant-click' ) ); ?>
<span class="litespeed-danger">
<?php esc_html_e( 'This will generate extra requests to the server, which will increase server load.', 'litespeed-cache' ); ?>