Down the WordPress Performance Rabbit Hole with Saumya Majumder
from The Web Talk Show Hosted by Armando J. Perez-Carreno
Learn how WordPress performance and caching work, from CDNs and Cloudflare edge caching to slow plugins and hosting choices. Saumya Majumder, a lead software development engineer at BigScoots and a WordPress core contributor, walks through what happens behind the scenes when someone loads your site and what you can do to make it faster. In this episode: Caching the full HTML page at the Cloudflare edge can deliver it in about 30 milliseconds, compared to 700 or 800 milliseconds from the server, and Saumya shares how he and Salvador built the Super Page Cache for Cloudflare plugin around that idea. Cloudflare may drop pages from its cache if only a script visited them, and it may cache requests from a default Python user agent for a very short time, so keep that in mind if you warm your cache with a script. Think of your visitors as two groups, lookers and buyers. The cache takes care of lookers, so make sure your server has room for your buyers and for the rush that follows when you purge the whole cache. When an AI tool suggests a WordPress hook, check it in the WordPress core code, which notes the version where each hook or argument was added. If your site feels slower after adding or updating a plugin, check the browser's network tab and turn off recent plugins one at a time to find the cause. Guest: Saumya Majumder, Lead Software Development Engineer, BigScoots Chapters 00:00:00 Saumya's WordPress background 00:06:54 How a web page loads 00:11:00 How a CDN cuts latency 00:22:10 Edge caching vs disk caching 00:29:53 How Cloudflare caching tiers work 00:37:07 The WordPress load process 00:46:59 Checking AI code against WordPress core 00:58:31 Perfmatters and unloading plugins 01:22:45 Caching for logged-in users 01:30:54 Finding slow plugins and good hosting Episode page: https://webtalk.show/episodes/008-down-the-performance-rabbit-hole-with-saumya-majumder/ Hosted by Armando J. Perez-Carreno. Learn more at https://perezcarreno.com
Embed this episode
No transcript yet.