= 0 ) { header("Pragma: public"); header("Cache-Control: max-age=".$expires.", must-revalidate"); } else { header("Pragma: no-cache"); header("Cache-Control: max-age=".$expires.", no-cache"); } header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT'); } function phpch_setting() { add_submenu_page('aio-cache-menu',__('PHP Expires Headers','aio-cache-phpexpheaders'), __('PHP Expires Headers','aio-cache-phpexpheaders'), 'manage_options', 'aio-cache-phpexpheaders', 'phpch_setting_page'); } function phpch_setting_page() { global $opt_value; if (!current_user_can('manage_options')) wp_die( __('You do not have sufficient permissions to access this page.') ); $opt_value = get_option( 'phpch_setting', 1800 ); if ( is_numeric($_POST['phpch_value']) ) { $opt_value = $_POST['phpch_value']; update_option( 'phpch_setting', $opt_value ); ?>

'; echo '

AIO Cache: PHP Expires Headers

'; ?>

To donate, click here.


Seconds

Cache For 0 Seconds = No Cache