X7ROOT File Manager
Current Path:
/usr/src/litespeed-wp-plugin/6.5.4/litespeed-cache/tpl/cache
usr
/
src
/
litespeed-wp-plugin
/
6.5.4
/
litespeed-cache
/
tpl
/
cache
/
ðŸ“
..
📄
entry.tpl.php
(2.12 KB)
📄
entry_network.tpl.php
(1.31 KB)
📄
more_settings_tip.tpl.php
(435 B)
📄
network_settings-advanced.tpl.php
(417 B)
📄
network_settings-browser.tpl.php
(118 B)
📄
network_settings-cache.tpl.php
(1.13 KB)
📄
network_settings-excludes.tpl.php
(519 B)
📄
network_settings-object.tpl.php
(117 B)
📄
network_settings-purge.tpl.php
(415 B)
📄
settings-advanced.tpl.php
(2.27 KB)
📄
settings-browser.tpl.php
(118 B)
📄
settings-cache.tpl.php
(5.09 KB)
📄
settings-esi.tpl.php
(5.59 KB)
📄
settings-excludes.tpl.php
(4.34 KB)
📄
settings-object.tpl.php
(117 B)
📄
settings-purge.tpl.php
(5.85 KB)
📄
settings-ttl.tpl.php
(3.07 KB)
📄
settings_inc.browser.tpl.php
(1.9 KB)
📄
settings_inc.cache_dropquery.tpl.php
(762 B)
📄
settings_inc.cache_mobile.tpl.php
(2.37 KB)
📄
settings_inc.cache_resources.tpl.php
(572 B)
📄
settings_inc.exclude_cookies.tpl.php
(537 B)
📄
settings_inc.exclude_useragent.tpl.php
(543 B)
📄
settings_inc.login_cookie.tpl.php
(3.02 KB)
📄
settings_inc.object.tpl.php
(6.53 KB)
📄
settings_inc.purge_on_upgrade.tpl.php
(461 B)
Editing: settings_inc.cache_mobile.tpl.php
<?php namespace LiteSpeed; defined( 'WPINC' ) || exit; ?> <!-- build_setting_mobile_view start --> <tr> <th> <?php $id = Base::O_CACHE_MOBILE; ?> <?php $this->title( $id ); ?> </th> <td> <?php $this->build_switch( $id ); ?> <div class="litespeed-desc"> <?php echo __( 'Serve a separate cache copy for mobile visitors.', 'litespeed-cache' ); ?> <?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#cache-mobile', __( 'Learn more about when this is needed', 'litespeed-cache' ) ); ?> <br /><?php Doc::notice_htaccess(); ?> <br /><?php Doc::crawler_affected(); ?> </div> </td> </tr> <tr> <th class="litespeed-padding-left"> <?php $id = Base::O_CACHE_MOBILE_RULES; ?> <?php $this->title( $id ); ?> </th> <td> <?php // if set, use value as input value if ( $this->conf( Base::O_CACHE_MOBILE ) ) { // if enabled, check the setting in file if ( defined( 'LITESPEED_ON' ) ) { try { $mobile_agents = Htaccess::cls()->current_mobile_agents(); if ( $mobile_agents !== Utility::arr2regex( $this->conf( $id ), true ) ) { echo '<div class="litespeed-callout notice notice-error inline"><p>' . __( 'Htaccess did not match configuration option.', 'litespeed-cache' ) . ' ' . sprintf( __( 'Htaccess rule is: %s', 'litespeed-cache' ), '<code>' . $mobile_agents . '</code>' ) . '</p></div>'; } } catch( \Exception $e ) { echo '<div class="litespeed-callout notice notice-error inline"><p>' . $e->getMessage() . '</p></div>'; } } } ?> <div class="litespeed-textarea-recommended"> <div> <?php $this->build_textarea( $id, 40 ); ?> </div> <div> <?php $this->recommended( $id ); ?> </div> </div> <div class="litespeed-desc"> <?php Doc::one_per_line(); ?> <?php $this->_validate_syntax( $id ); ?> <?php if ( $this->conf( Base::O_CACHE_MOBILE ) && ! $this->conf( $id ) ) : ?> <font class="litespeed-warning"> ❌ <?php echo sprintf( __( 'If %1$s is %2$s, then %3$s must be populated!', 'litespeed-cache' ), '<code>' . __('Cache Mobile', 'litespeed-cache') . '</code>', '<code>' . __('ON', 'litespeed-cache') . '</code>', '<code>' . __('List of Mobile User Agents', 'litespeed-cache') . '</code>' ); ?> </font> <?php endif; ?> </div> </td> </tr> <!-- build_setting_mobile_view end -->
Upload File
Create Folder