PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.4.2
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.4.2
1.4.2 1.4.1 1.4.0 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 All 36 releases
← All changes | includes/class-server.php +13 -8 1.3.0 → 1.4.2 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
@@ -713,9 +715,12 @@
713 715 // deactivate us to avoid double-caching.
714 716 if ( 'xspeed/xspeed.php' === $file ) {
715 717 continue;
716 718 }
717 - if ( is_plugin_active( $file ) ) {
719 + // Active for its other features with its own page cache switched
720 + // off: nothing is caching pages, so there is nothing to warn
721 + // about. An unreadable setting still counts. (#653)
722 + if ( is_plugin_active( $file ) && false !== Cache_Plugin_Catalog::page_cache_state( $file ) ) {
718 723 $found[] = $entry['label'];
719 724 }
720 725 }
721 726