resolved missing headers
-
I’ve noticed that headers seem to be missing when serving cache content.
I modified wp-cache-phase1.php at line 187 and included { } brackets after the if condition test, which seem to resolve the problem. May be a few more like this.
if ( isset( $wp_cache_disable_utf8 ) == false || $wp_cache_disable_utf8 == 0 ) {
header( “Content-type: text/html; charset=UTF-8” );
header( “Vary: Accept-Encoding, Cookie” );
header( “Cache-Control: max-age=3, must-revalidate” );
header( “WP-Super-Cache: Served supercache file from PHP” );
}
- The topic ‘resolved missing headers’ is closed to new replies.