PluginProbe
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN / 1.4.1
xSpeed Cache: AI-Powered Performance Hub with MCP, Caching & CDN v1.4.1
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 1.1.2 All 35 releases
← All changes | includes/modules/Health/HealthModule.php +10 -0 1.3.7 → 1.4.1 View file →
@@ -53,8 +53,18 @@
53 53 // Out-of-band refresh of the Set-Cookie probe. Health::checks()
54 54 // only ever reads the cached verdict, so the HTTP round-trip
55 55 // happens here instead of inside a request the user waits on.
56 56 add_action( \XSpeed\Cookie_Inspector::CRON_HOOK, array( $this, 'refresh_cookie_probe' ) );
57 +
58 + // Same pattern for the edge-mode probe: the page it requests is
59 + // answered here, and the two round-trips run from cron.
60 + \XSpeed\Edge_Mode_Probe::boot();
61 + add_action( \XSpeed\Edge_Mode_Probe::CRON_HOOK, array( $this, 'refresh_edge_mode_probe' ) );
62 + }
63 +
64 + /** Cron callback: ask the edge whether it obeys "do not store". */
65 + public function refresh_edge_mode_probe(): void {
66 + \XSpeed\Edge_Mode_Probe::run();
57 67 }
58 68
59 69 /** Cron callback: perform the real (blocking) probe off-request. */
60 70 public function refresh_cookie_probe(): void {