Util_Ui::postbox_footer(); ?> <?php Util_Ui::postbox_header('Object Cache', '', 'object_cache'); Util_Ui::config_overloading_button(array('key' => 'objectcache.configuration_overloaded')); ?> <p><?php _e('Enable object caching to further reduce execution time for common operations.', 'w3-total-cache'); ?> </p> <table class="form-table"> <?php Util_Ui::config_item(array('key' => 'objectcache.enabled', 'control' => 'checkbox', 'checkbox_label' => __('Enable', 'w3-total-cache'), 'description' => __('Object caching greatly increases performance for highly dynamic sites that use the <a href="http://codex.wordpress.org/Class_Reference/WP_Object_Cache" target="_blank">Object Cache <acronym title="Application Programming Interface">API</acronym></a>.', 'w3-total-cache'))); Util_Ui::config_item_engine(array('key' => 'objectcache.engine')); ?> </table> <?php Util_Ui::button_config_save('general_objectcache', '<input type="submit" name="w3tc_flush_objectcache" value="' . __('Empty cache', 'w3-total-cache') . '" ' . ($objectcache_enabled ? '' : ' disabled="disabled" ') . ' class="button" />'); ?> <?php Util_Ui::postbox_footer(); ?> <?php Util_Ui::postbox_header(__('Browser Cache', 'w3-total-cache'), '', 'browser_cache'); Util_Ui::config_overloading_button(array('key' => 'browsercache.configuration_overloaded')); ?> <p><?php
<?php namespace W3TC; if (!defined('W3TC')) { die; } Util_Ui::postbox_header('Fragment Cache', '', 'fragment_cache'); ?> <p>Enable fragment caching reduce execution time for common operations.</p> <table class="form-table"> <?php Util_Ui::config_item_engine(array('key' => array('fragmentcache', 'engine'), 'label' => __('Fragment Cache Method:', 'w3-total-cache'), 'empty_value' => true)); ?> </table> <?php Util_Ui::button_config_save('general_feedburner', '<input type="submit" name="w3tc_flush_fragmentcache" value="' . __('Empty cache', 'w3-total-cache') . '" class="button" />'); Util_Ui::postbox_footer();