PHP 8.2.30
Preview: settings-advanced.tpl.php Size: 2.27 KB
/usr/src/litespeed-wp-plugin/7.1/litespeed-cache/tpl/cache/settings-advanced.tpl.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>

		<tr>
			<th>
				<?php $id = Base::O_CACHE_AJAX_TTL; ?>
				<?php $this->title($id); ?>
			</th>
			<td>
				<div class="litespeed-textarea-recommended">
					<div>
						<?php $this->build_textarea($id, 60); ?>
					</div>
				</div>
				<div class="litespeed-desc">
					<?php echo __('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(); ?>
				</div>
			</td>
		</tr>

		<?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>

Directory Contents

Dirs: 0 × Files: 26

Name Size Perms Modified Actions
2.12 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
1.31 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
435 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
417 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
118 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
1.13 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
519 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
117 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
415 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
2.27 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
118 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
5.09 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
5.59 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
4.34 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
117 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
5.85 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
3.07 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
1.90 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
762 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
2.37 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
572 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
537 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
543 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download
3.02 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
6.53 KB lrw-r--r-- 2025-04-24 21:30:14
Edit Download
461 B lrw-r--r-- 2025-04-24 21:30:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).