| @@ -93,8 +93,16 @@ | ||
| 93 | 93 | // Integrations that clear OTHER plugins' caches of rendered output |
| 94 | 94 | // (Elementor's element cache + generated CSS). Registers a listener |
| 95 | 95 | // only; nothing runs until Cache::purge_render_caches() asks. |
| 96 | 96 | Render_Caches::boot(); |
| 97 | + // Server_Caches needs no boot(): Cache::dispatch_purge_event() calls it | |
| 98 | + // directly so a throwing third-party listener cannot skip it. | |
| 99 | + | |
| 100 | + // Forward a full purge to a full-page cache owned by the WEB SERVER | |
| 101 | + // (nginx FastCGI, via the host's Nginx Helper install). Registers a | |
| 102 | + // listener on xspeed_after_purge_all only; it stands down unless | |
| 103 | + // that cache is actually configured. | |
| 104 | + Host_Page_Caches::boot(); | |
| 97 | 105 | |
| 98 | 106 | // Register Free modules via the same action xspeed-pro uses, so |
| 99 | 107 | // the bootstrap path is symmetric across tiers. |
| 100 | 108 | add_action( 'xspeed_register_modules', array( $this, 'register_free_modules' ) ); |