Submit
Path:
~
/
home
/
getwphos
/
www
/
ccma
/
wp-content
/
plugins
/
litespeed-cache
/
tpl
/
cache
/
File Content:
settings-esi.tpl.php
<?php namespace LiteSpeed ; defined( 'WPINC' ) || exit ; ?> <h3 class="litespeed-title-short"> <?php echo __( 'ESI Settings', 'litespeed-cache' ) ; ?> <?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/cache/#esi-tab' ); ?> </h3> <div class="litespeed-description"> <p><?php echo __( 'With ESI (Edge Side Includes), pages may be served from cache for logged-in users.', 'litespeed-cache' ) ; ?></p> <p><?php echo __( 'ESI allows you to designate parts of your dynamic page as separate fragments that are then assembled together to make the whole page. In other words, ESI lets you “punch holes” in a page, and then fill those holes with content that may be cached privately, cached publicly with its own TTL, or not cached at all.', 'litespeed-cache' ) ; ?> <?php Doc::learn_more( 'https://blog.litespeedtech.com/2017/08/30/wpw-private-cache-vs-public-cache/', __( 'WpW: Private Cache vs. Public Cache', 'litespeed-cache' ) ); ?> </p> <p> 💡: <?php echo __( 'You can turn shortcodes into ESI blocks.', 'litespeed-cache' ) ; ?> <?php echo sprintf( __( 'Replace %1$s with %2$s.', 'litespeed-cache' ), '<code>[shortcodeA att1="val1" att2="val2"]</code>', '<code>[esi shortcodeA att1="val1" att2="val2"]</code>' ) ; ?> <?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/admin/#turning-wordpress-shortcodes-into-esi-blocks' ); ?> </p> <p> <?php Doc::learn_more( 'https://docs.litespeedtech.com/lscache/lscwp/api/#generate-esi-block-url', __( 'ESI sample for developers', 'litespeed-cache' ) ); ?> </p> </div> <div class="litespeed-relative"> <?php if ( ! LSWCP_ESI_SUPPORT && ! $this->conf( Base::O_CDN_QUIC ) ) : ?> <div class="litespeed-callout-danger"> <h4><?php echo __( 'WARNING', 'litespeed-cache' ) ; ?></h4> <h4><?php echo __( 'These options are only available with LiteSpeed Enterprise Web Server or QUIC.cloud CDN.', 'litespeed-cache' ); ?></h4> </div> <?php endif; ?> <table class="wp-list-table striped litespeed-table"><tbody> <tr> <th> <?php $id = Base::O_ESI ; ?> <?php $this->title( $id ) ; ?> </th> <td> <?php $this->build_switch( $id ) ; ?> <div class="litespeed-desc"> <?php echo __( 'Turn ON to cache public pages for logged in users, and serve the Admin Bar and Comment Form via ESI blocks. These two blocks will be uncached unless enabled below.', 'litespeed-cache' ) ; ?> </div> </td> </tr> <tr> <th> <?php $id = Base::O_ESI_CACHE_ADMBAR ; ?> <?php $this->title( $id ) ; ?> </th> <td> <?php $this->build_switch( $id ) ; ?> <div class="litespeed-desc"> <?php echo __(' Cache the built-in Admin Bar ESI block.', 'litespeed-cache' ) ; ?> </div> </td> </tr> <tr> <th> <?php $id = Base::O_ESI_CACHE_COMMFORM ; ?> <?php $this->title( $id ) ; ?> </th> <td> <?php $this->build_switch( $id ) ; ?> <div class="litespeed-desc"> <?php echo __( 'Cache the built-in Comment Form ESI block.', 'litespeed-cache' ) ; ?> </div> </td> </tr> <tr> <th> <?php $id = Base::O_ESI_NONCE ; ?> <?php $this->title( $id ) ; ?> </th> <td> <div class="litespeed-row-flex"> <div class=""> <?php $this->build_textarea( $id ) ; ?> </div> <div class="litespeed-width-3-10"> <p class="litespeed-desc"> <?php echo __( 'The list will be merged with the predefined nonces in your local data file.', 'litespeed-cache' ); ?> <?php echo __( 'The latest data file is', 'litespeed-cache' ); ?>: <a href="https://github.com/litespeedtech/lscache_wp/blob/master/data/esi.nonces.txt" target="_blank">https://github.com/litespeedtech/lscache_wp/blob/master/data/esi.nonces.txt</a> <br /><font class="litespeed-success"> <?php echo __( 'API', 'litespeed-cache' ); ?>: <?php echo sprintf( __( 'Filter %s is supported.', 'litespeed-cache' ), '<code>litespeed_esi_nonces</code>' ); ?> </font> </p> </div> </div> <div class="litespeed-desc"> <?php echo __( 'The above nonces will be converted to ESI automatically.', 'litespeed-cache' ); ?> <?php Doc::one_per_line(); ?> <br /><?php echo __( 'An optional second parameter may be used to specify cache control. Use a space to separate', 'litespeed-cache' ); ?>: <code>my_nonce_action private</code> </div> <div class="litespeed-desc"> <?php echo sprintf( __( 'Wildcard %1$s supported (match zero or more characters). For example, to match %2$s and %3$s, use %4$s.', 'litespeed-cache' ), '<code>*</code>', '<code>nonce_formid_1</code>', '<code>nonce_formid_3</code>', '<code>nonce_formid_*</code>' ) ; ?> </div> </td> </tr> <tr> <th> <?php $id = Base::O_CACHE_VARY_GROUP ; ?> <?php $this->title( $id ) ; ?> </th> <td> <table class="litespeed-vary-table wp-list-table striped litespeed-table form-table"><tbody> <?php foreach ( $roles as $role => $title ): ?> <tr> <td class='litespeed-vary-title'><?php echo $title ; ?></td> <td class='litespeed-vary-val'> <?php $this->build_input( $id . '[' . $role . ']', 'litespeed-input-short', $this->cls( 'Vary' )->in_vary_group( $role ) ); ?> </td> </tr> <?php endforeach; ?> </tbody></table> <div class="litespeed-desc"> <?php echo __( 'If your site contains public content that certain user roles can see but other roles cannot, you can specify a Vary Group for those user roles. For example, specifying an administrator vary group allows there to be a separate publicly-cached page tailored to administrators (with “edit” links, etc), while all other user roles see the default public page.', 'litespeed-cache' ) ; ?> </div> </td> </tr> </tbody></table> </div>
Submit
FILE
FOLDER
Name
Size
Permission
Action
entry.tpl.php
2170 bytes
0644
entry_network.tpl.php
1340 bytes
0644
more_settings_tip.tpl.php
435 bytes
0644
network_settings-advanced.tpl.php
417 bytes
0644
network_settings-browser.tpl.php
118 bytes
0644
network_settings-cache.tpl.php
1162 bytes
0644
network_settings-excludes.tpl.php
519 bytes
0644
network_settings-object.tpl.php
117 bytes
0644
network_settings-purge.tpl.php
415 bytes
0644
settings-advanced.tpl.php
1826 bytes
0644
settings-browser.tpl.php
118 bytes
0644
settings-cache.tpl.php
5210 bytes
0644
settings-esi.tpl.php
5723 bytes
0644
settings-excludes.tpl.php
4127 bytes
0644
settings-object.tpl.php
117 bytes
0644
settings-purge.tpl.php
5993 bytes
0644
settings-ttl.tpl.php
3142 bytes
0644
settings_inc.browser.tpl.php
1943 bytes
0644
settings_inc.cache_dropquery.tpl.php
762 bytes
0644
settings_inc.cache_mobile.tpl.php
2423 bytes
0644
settings_inc.cache_resources.tpl.php
572 bytes
0644
settings_inc.exclude_cookies.tpl.php
537 bytes
0644
settings_inc.exclude_useragent.tpl.php
543 bytes
0644
settings_inc.login_cookie.tpl.php
3090 bytes
0644
settings_inc.object.tpl.php
6688 bytes
0644
settings_inc.purge_on_upgrade.tpl.php
461 bytes
0644
N4ST4R_ID | Naxtarrr