WordPress Performance
3 articles tagged WordPress Performance by Darshan Panchasara.
WP-Cron: Why Scheduled Tasks Run Late and How to Use a Real Cron Job
WP-Cron only checks for due tasks when someone loads a page, so quiet or cached sites miss scheduled posts and backups. Here’s how it works, how I switch to a real server cron with DISABLE_WP_CRON and WP-CLI, and how to schedule plugin events without duplicates.
LCP Image Optimization: Make Your Hero Image Load First With fetchpriority, Preload, and srcset
How I fix a slow LCP image: skip lazy-loading, add fetchpriority=high, preload only when needed, and size srcset right in Next.js and WordPress.
WordPress Heartbeat API: Stop Background Polling From Slowing Admin and Checkout
How I tame the WordPress Heartbeat API on client sites: inspect admin-ajax beats, drop it from the front end and slow wp-admin without losing post locks.