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-gzip.php +3 -1 1.2.4 → 1.3.7 View file →
@@ -141,9 +141,11 @@
141 141
142 142 $res = wp_remote_get(
143 143 home_url( '/' ),
144 144 array(
145 - 'headers' => array( 'Accept-Encoding' => 'gzip' ),
145 + // WordPress's own UA, which firewalls let through; the header
146 + // keeps this probe out of analytics.
147 + 'headers' => Self_Traffic::headers( array( 'Accept-Encoding' => 'gzip' ) ),
146 148 // 3s wasn't enough to pull a full homepage on a busy shared
147 149 // host, and every timeout used to read as "gzip is broken".
148 150 'timeout' => 5,
149 151 // Loopback to our own hostname; staging boxes routinely have