PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.3.7
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.3.7
1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.4 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 33 releases
← All changes | includes/class-server.php +9 -7 1.3.0 → 1.3.7 View file →
@@ -444,15 +444,17 @@
444 444 array(
445 445 'timeout' => 3,
446 446 'sslverify' => ! $is_local,
447 447 'redirection' => 0,
448 - 'headers' => array(
449 - // `br` ONLY. Offering gzip as well would let a server that
450 - // prefers gzip answer with it and look like a brotli
451 - // failure, which is exactly the false negative this method
452 - // exists to remove.
453 - 'Accept-Encoding' => 'br',
454 - 'Cache-Control' => 'no-cache',
448 + 'headers' => Self_Traffic::headers(
449 + array(
450 + // `br` ONLY. Offering gzip as well would let a server that
451 + // prefers gzip answer with it and look like a brotli
452 + // failure, which is exactly the false negative this method
453 + // exists to remove.
454 + 'Accept-Encoding' => 'br',
455 + 'Cache-Control' => 'no-cache',
456 + )
455 457 ),
456 458 )
457 459 );
458 460