' . esc_html( Cache::engine_name( $this->_config->get_string( 'pgcache.engine' ) ) ) . '', '' . esc_html__( 'enabled', 'w3-total-cache' ) : 'disabled">' . esc_html__( 'disabled', 'w3-total-cache' ) ) . '.' ), array( 'strong' => array(), 'span' => array( 'class' => array(), ), ) ); ?>

' . $status_label . '', $manage_label, '' . esc_html__( 'here', 'w3-total-cache' ) . '' ), array( 'span' => array( 'class' => array(), ), 'a' => array( 'href' => array(), ), ) ); ?>

_config->get_string( 'pgcache.engine' ) ) : ?>
checkbox( 'pgcache.cache.home' ); ?>

checkbox( 'pgcache.reject.front_page' ); ?>

checkbox( 'pgcache.cache.feed' ); ?>

checkbox( 'pgcache.cache.nginx_handle_xml' ); ?>

', '' ), array( 'acronym' => array( 'title' => array(), ), ) ); ?>

checkbox( 'pgcache.cache.ssl' ); ?>

', '' ), array( 'acronym' => array( 'title' => array(), ), ) ); ?>

checkbox( 'pgcache.cache.query', ( 'file_generic' === $this->_config->get_string( 'pgcache.engine' ) ), '', true, ( 'file_generic' === $this->_config->get_string( 'pgcache.engine' ) ? 0 : null ) ); ?>

checkbox( 'pgcache.cache.404' ); ?>

checkbox( 'pgcache.reject.logged' ); ?>

checkbox( 'pgcache.reject.logged_roles' ); ?>

_config->get_array( 'pgcache.reject.roles' ); ?>
$role_data ) : ?> id="role_" />
'pgcache.mirrors.enabled', 'control' => 'checkbox', 'label' => esc_html__( 'Cache alias hostnames:', 'w3-total-cache' ), 'checkbox_label' => esc_html__( 'Enable', 'w3-total-cache' ), 'enabled' => ! Util_Environment::is_wpmu_subdomain(), 'description' => esc_html__( 'If the same WordPress content is accessed from different domains', 'w3-total-cache' ), ) ); Util_Ui::config_item( array( 'key' => 'pgcache.mirrors.home_urls', 'control' => 'textarea', 'label' => wp_kses( sprintf( // translators: 1 opneing HTML acronym tag, 2 closing HTML acronym tag. __( 'Additional home %1$sURL%2$ss:', 'w3-total-cache' ), '', '' ), array( 'acronym' => array( 'title' => array(), ), ) ), 'enabled' => ! Util_Environment::is_wpmu_subdomain(), 'description' => wp_kses( sprintf( // translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag, 3 HTML line break tag, // translators: 4 HTML line break tag, 5 HTML line break tag. __( 'Specify full home %1$sURL%2$ss of your mirrors so that plugin will flush it\'s cache when content is changed. For example:%3$s http://my-site.com%4$shttp://www.my-site.com%5$shttps://my-site.com', 'w3-total-cache' ), '', '', '
', '
', '
' ), array( 'acronym' => array( 'title' => array(), ), 'br' => array(), ) ), ) ); ?>
checkbox( 'pgcache.prime.enabled' ); ?>
value="_config->get_integer( 'pgcache.prime.interval' ) ); ?>" size="8" />

value="_config->get_integer( 'pgcache.prime.limit' ) ); ?>" size="8" />

value="_config->get_string( 'pgcache.prime.sitemap' ) ); ?>" size="100" />

', '', '', '' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), 'acronym' => array( 'title' => array(), ), ) ); ?>

checkbox( 'pgcache.prime.post.enabled' ); ?>

checkbox( 'pgcache.prime.post.update.enabled' ); ?>

checkbox( 'pgcache.purge.front_page' ); ?>
checkbox( 'pgcache.purge.home' ); ?>
checkbox( 'pgcache.purge.post' ); ?>
checkbox( 'pgcache.purge.feed.blog' ); ?>
checkbox( 'pgcache.purge.comments' ); ?>
checkbox( 'pgcache.purge.author' ); ?>
checkbox( 'pgcache.purge.terms' ); ?>
checkbox( 'pgcache.purge.feed.comments' ); ?>
checkbox( 'pgcache.purge.feed.author' ); ?>
checkbox( 'pgcache.purge.feed.terms' ); ?>
checkbox( 'pgcache.purge.archive.daily' ); ?>
checkbox( 'pgcache.purge.archive.monthly' ); ?>
checkbox( 'pgcache.purge.archive.yearly' ); ?>


type="text" value="_config->get_integer( 'pgcache.purge.postpages_limit' ) ); ?>" />

' ), array( 'br' => array(), ) ); ?>

value="_config->get_string( 'pgcache.purge.sitemap_regex' ) ); ?>" type="text" />

', '', '', '' ), array( 'acronym' => array( 'title' => array(), ), ) ), '', 'rest' ); ?> 'pgcache.rest', 'label' => 'RESTAPI', 'control' => 'radiogroup', 'radiogroup_values' => array( '' => __( 'Don\'t cache', 'w3-total-cache' ), 'cache' => array( 'label' => __( 'Cache', 'w3-total-cache' ), 'disabled' => ! Util_Environment::is_w3tc_pro( $this->_config ), 'pro_feature' => true, 'pro_excerpt' => esc_html__( 'If you\'re using the WordPress API make sure to use caching to scale performance.', 'w3-total-cache' ), 'pro_description' => array( esc_html__( 'If you use WordPress as a backend for integrations, API caching may be for you. Similar to page caching, repeat requests will benefit by having significantly lower response times and consume fewer resources to deliver. If WordPress is not used as a backend, for additional security, the API can be disabled completely.', 'w3-total-cache' ), ), 'show_learn_more' => false, 'intro_label' => __( 'Potential API Response Time Gain', 'w3-total-cache' ), 'score' => '84%', 'score_label' => __( 'API Response Time', 'w3-total-cache' ), 'score_description' => __( 'In a recent test, enabling REST API Caching increased API response times by 84%!', 'w3-total-cache' ), 'score_link' => 'https://www.boldgrid.com/support/w3-total-cache/pagespeed-tests/rest-api-testing/?utm_source=w3tc&utm_medium=rest-api-caching&utm_campaign=proof', ), 'disable' => wp_kses( sprintf( // translators: 1 opening HTML acronym tag, 2 closing HTML acronym tag, // translators: 3 opening HTML acronym tag, 4 closing HTML acronym tag. __( 'Disable %1$sREST%2$s %3$sAPI%4$s', 'w3-total-cache' ), '', '', '', '' ), array( 'acronym' => array( 'title' => array(), ), ) ), ), 'radiogroup_separator' => '
', 'description' => wp_kses( sprintf( // translators: 1 opneing HTML acronym tag, 2 closing HTML acronym tag, // translators: 3 opneing HTML acronym tag, 4 closing HTML acronym tag. __( 'Controls WordPress %1$sREST%2$s %3$sAPI%4$s functionality.', 'w3-total-cache' ), '', '', '', '' ), array( 'acronym' => array( 'title' => array(), ), ) ), ) ); ?>
_config->get_string( 'pgcache.engine' ) || 'nginx_memcached' === $this->_config->get_string( 'pgcache.engine' ) ) { $module = 'pgcache'; include W3TC_INC_DIR . '/options/parts/memcached.php'; } elseif ( 'redis' === $this->_config->get_string( 'pgcache.engine' ) ) { $module = 'pgcache'; include W3TC_INC_DIR . '/options/parts/redis.php'; } ?> _config->get_string( 'pgcache.engine' ) ) : ?>

checkbox( 'pgcache.compatibility' ); ?>

checkbox( 'pgcache.remove_charset' ); ?>

_config->get_string( 'pgcache.engine' ) ) : ?> checkbox( 'pgcache.reject.request_head', false, '', false ); ?>

', '' ), array( 'acronym' => array( 'title' => array(), ), ) ); ?>

value="_config->get_integer( 'pgcache.lifetime' ) ); ?>" size="8" />

value="_config->get_integer( 'pgcache.file.gc' ) ); ?>" size="8"_config->get_string( 'pgcache.engine' ) && 'file_generic' !== $this->_config->get_string( 'pgcache.engine' ) ) ? ' disabled="disabled"' : ''; ?> />

', '', '', '' ), array( 'acronym' => array( 'title' => array(), ), ) ); ?>

', '' ), array( 'acronym' => array( 'title' => array(), ), ) ); ?>

', '', '', '' ), array( 'a' => array( 'href' => array(), ), 'acronym' => array( 'title' => array(), ), ) ); ?>

', '' ), array( 'a' => array( 'href' => array(), 'target' => array(), ), ) ); ?>

get_boolean( 'pgcache.enabled' ); $wp_disabled = ! $c->get_boolean( 'pgcache.wp_cron' ); if ( $disabled ) { echo wp_kses( sprintf( // Translators: 1 opening HTML div tag followed by opening HTML p tag, 2 opening HTML a tag, // Translators: 3 closing HTML a tag, 4 closing HTML p tag followed by closing HTML div tag. __( '%1$sPage Cache is disabled! Enable it %2$shere%3$s to enable this feature.%4$s', 'w3-total-cache' ), '

', '', '', '

' ), array( 'div' => array( 'class' => array(), ), 'p' => array(), 'a' => array( 'href' => array(), ), ) ); } Util_Ui::config_item( array( 'key' => 'pgcache.wp_cron', 'label' => esc_html__( 'Enable WP-Cron Event', 'w3-total-cache' ), 'checkbox_label' => esc_html__( 'Enable', 'w3-total-cache' ), 'control' => 'checkbox', 'disabled' => $disabled, ) ); $time_options = array(); for ( $hour = 0; $hour < 24; $hour++ ) { foreach ( array('00', '30') as $minute ) { $time_value = $hour * 60 + intval( $minute ); $scheduled_time = new \DateTime( "{$hour}:{$minute}", wp_timezone() ); $time_label = $scheduled_time->format( 'g:i a' ); $time_options[$time_value] = $time_label; } } Util_Ui::config_item( array( 'key' => 'pgcache.wp_cron_time', 'label' => esc_html__( 'Start Time', 'w3-total-cache' ), 'control' => 'selectbox', 'selectbox_values' => $time_options, 'description' => esc_html__( 'This setting controls the initial start time of the cron job. If the selected time has already passed, it will schedule the job for the following day at the selected time.', 'w3-total-cache' ), 'disabled' => $disabled || $wp_disabled, ) ); Util_Ui::config_item( array( 'key' => 'pgcache.wp_cron_interval', 'label' => esc_html__( 'Interval', 'w3-total-cache' ), 'control' => 'selectbox', 'selectbox_values' => array( 'hourly' => esc_html__( 'Hourly', 'w3-total-cache' ), 'twicedaily' => esc_html__( 'Twice Daily', 'w3-total-cache' ), 'daily' => esc_html__( 'Daily', 'w3-total-cache' ), 'weekly' => esc_html__( 'Weekly', 'w3-total-cache' ), ), 'description' => esc_html__( 'This setting controls the interval that the cron job should occur.', 'w3-total-cache' ), 'disabled' => $disabled || $wp_disabled, ) ); ?>
  • Settings tab.', 'w3-total-cache' ), '', '', '', '', '', '' ), array( 'a' => array( 'href' => array(), ), 'acronym' => array( 'title' => array(), ), ) ); ?>