Many SpeedyGo background features rely on WordPress WP-Cron to execute scheduled and deferred tasks automatically.
29.1 Overview #
The following features depend on WP-Cron:
- Cache preloading
- Cache warm-up
- WebP generation
- Scheduled expiration
- PageSpeed tracking
If WP-Cron is disabled, these background optimization processes will fail to execute.
Technical Context #
- The function
cnc_webp_admin_notices()performs environment validation - Checks whether
DISABLE_WP_CRONis defined inwp-config.php - Detects if WP-Cron is programmatically disabled
29.2 Behavior When Disabled #
- An aggressive admin notice is displayed
- Users are warned that background tasks will not execute
- Performance-related automation is halted
29.3 Why This Matters #
WP-Cron ensures:
- Preloading works properly
- Scheduled cache clearing runs
- Image optimization processes complete
- Performance tracking jobs execute reliably
29.4 Best Practice Recommendation #
- Keep WP-Cron enabled for shared hosting environments
- If using server-level cron jobs, ensure they trigger
wp-cron.phpcorrectly - Monitor admin notices after server configuration changes
WP-Cron Monitoring ensures all automated performance processes function reliably and without interruption.