diff --git a/wp-admin/gears-manifest.php b/wp-admin/gears-manifest.php index 53320e39d..eb510f993 100644 --- a/wp-admin/gears-manifest.php +++ b/wp-admin/gears-manifest.php @@ -1,11 +1,18 @@ scripts as $script ) { @@ -18,7 +25,10 @@ foreach ( $wp_scripts->scripts as $script ) { $version = md5($version); -nocache_headers(); +header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' ); +header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); +header( 'Cache-Control: no-cache, must-revalidate, max-age=0' ); +header( 'Pragma: no-cache' ); header( 'Content-Type: application/x-javascript; charset=UTF-8' ); // application/json text/plain ? ?> {