Notes: WordPress Speed Optimization

Arun Nagarathanam ยท 10 Jul 2026 ยท Notes ยท 29 of 53 in this course

An exclusive resource for students of Arun's AI SEO Course.

Your efficient companion to the WordPress Speed Optimization video lectures

In This Section, You Will Master:

  • How to properly test your site's speed using the right tools and methodology.
  • How to safely back up your WordPress site's database and files before making changes.
  • How to configure the free version of Cloudflare to act as a powerful CDN and security layer.
  • How to use free WordPress plugins to automatically convert and serve images in the next-gen WebP format.
  • Detailed configuration walkthroughs for two powerful speed optimization setups: the all-in-one LiteSpeed Cache plugin (for LiteSpeed servers) and the premium WP Rocket plugin.
  • A free "3-Plugin Combo" technique for users who aren't on a LiteSpeed server and need a budget-friendly option.

How to Use These Notes:

These notes are your efficient companion to the video lectures.

  • Focus on the ๐ŸŽฏ Key Takeaways to solidify the core concepts.
  • When you see ๐Ÿš€ Actionable Items or ๐Ÿง  Applied Learning, it's your cue to put theory into practice.
  • For conceptual lectures, use the ๐Ÿค” Food for Thought to think more deeply about the 'why'.

The Growth Payoff:

A faster website is one of the most significant technical SEO wins you can achieve. By mastering these techniques, you directly improve your Core Web Vitals, create a better user experience, reduce bounce rates, and give yourself a direct advantage in Google's search rankings.

Page Speed Testing The Right way

Key Takeaways

  • Not all speed test tools are created equal. Tools like Pingdom or GTmetrix can provide inaccurate results.
  • The two most reliable tools are Google's PageSpeed Insights (which uses Lighthouse) and WebPageTest.org for more advanced analysis.
  • Before you run any test, you must follow two crucial steps for accurate results:
    • Purge All Caches: Clear the cache from your WordPress plugins (like LiteSpeed, WP Rocket) and your CDN (like Cloudflare). This ensures you're testing the "fresh" version of your site.
    • Use an Incognito Window: Always run tests in a private/incognito browser window to prevent your own browser's cache and extensions from influencing the results.

Actionable Items

  • When testing in WebPageTest.org for a detailed analysis:
    • Select a relevant test location and browser.
    • For mobile tests, choose a realistic connection speed like "3G Fast" or "4G" to understand why mobile scores are often lower.
    • For desktop tests, choose "Cable."
    • Always set the number of tests to 3 and check "First view & repeat view" to see both the initial load and cached performance.

Tools & Resources Mentioned

  • Google PageSpeed Insights
  • WebPageTest.org

Backup & Restore your sites

Key Takeaways

  • Before you start configuring speed optimization plugins, you must have a reliable backup. It is possible to temporarily break your site or lock yourself out of the admin area, and a backup is your safety net.
  • A complete WordPress site consists of two main parts: the files (themes, plugins, uploads) and the database (where your posts, pages, and settings are stored).
  • Often, a misconfiguration affects the database. Being able to restore just the database is a highly essential skill.

Applied Learning

Creating & Restoring a Database Backup

  • Your Tool: The UpdraftPlus plugin (a reliable free option).
  • Your Task (Backup):
    • Install and activate UpdraftPlus.
    • Navigate to Settings > UpdraftPlus Backups.
    • Click "Backup Now."
    • In the pop-up, uncheck everything except "Include your database in the backup."
    • Click "Backup Now" again. You now have a lightweight, quick backup of your site's core data.
  • Your Task (Manual Restore via cPanel):
    • If you are locked out of WordPress, log in to your hosting control panel (cPanel).
    • Find and open phpMyAdmin.
    • Select your site's database from the left sidebar.
    • Click the "Import" tab.
    • Choose the database backup file you downloaded from UpdraftPlus and click "Go." Your site's settings will be restored.

Tools & Resources Mentioned

  • UpdraftPlus (WordPress Plugin)
  • Hosting cPanel / phpMyAdmin
  • FileZilla (FTP Client)

Configure Cloudflare

Key Takeaways

  • Cloudflare is a powerful tool that acts as a CDN (Content Delivery Network) and a security layer for your site. The free plan offers significant benefits.
  • Key Free Features:
    • CDN: Stores copies of your site's static files (images, CSS, JS) on over 250 servers worldwide, reducing load times for international visitors.
    • Fast DNS: Provides one of the world's fastest DNS resolvers, which can improve your initial server response time.
    • Security: Protects against common threats like DDoS attacks.
    • Free SSL & HTTP/2: Provides a free SSL certificate to enable HTTPS and allows for HTTP/2, which enables faster, concurrent file downloads.
  • Crucial Warning: Be extremely cautious when enabling SSL/TLS settings like "Full (Strict)" or "Always Use HTTPS." You must have a working SSL certificate on your own server first. If configured incorrectly, you can lock yourself out of your website. When in doubt, start with the "Flexible" SSL/TLS encryption mode.

Actionable Items (Key Cloudflare Settings)

  • SSL/TLS > Overview: Start with the "Flexible" setting if you're unsure about your server's SSL. Only move to "Full (Strict)" once you have confirmed HTTPS is working perfectly everywhere on your site.
  • SSL/TLS > Edge Certificates: Enable "Always Use HTTPS" and "Automatic HTTPS Rewrites" only after you have confirmed your site works correctly with SSL.
  • Speed > Optimization:
    • Disable the "Auto Minify" options for JavaScript, CSS, and HTML. Your WordPress performance plugin will handle this more efficiently.
    • Enable Brotli compression.
    • Enable Rocket Loader (this helps with JavaScript loading).
  • Caching > Configuration: Set "Browser Cache TTL" to a long duration, like 1 month, to improve repeat visit speeds.

Compress images in WebP format

Key Takeaways

  • WebP is the next-generation image format that offers much better compression than traditional JPG or PNG files, resulting in smaller file sizes and faster load times.
  • To serve WebP images on WordPress, you need a plugin that can:
    • Convert newly uploaded images to WebP automatically.
    • Bulk convert all your existing images.
  • Server Requirements: For these plugins to work, your server needs a modern PHP version (7.4+ recommended) with the Imagick or GD extensions enabled.

Applied Learning

Configuring a WebP Plugin

  • Your Tool: WebP Converter for Media (a reliable free plugin).
  • Your Task (Configuration):
    • Install and activate the plugin.
    • Go to the plugin settings.
    • Conversion Method: Choose Imagick if available; otherwise, choose GD.
    • Image Quality: 90% is a good balance between quality and file size.
    • Image Loading Mode: Choose "Via .htaccess" if your server supports it.
    • Extra Features: Enable all options except for "keep images metadata."
    • Save changes, then click "Regenerate All" to convert your existing library.
  • Verification: After the process is complete and you've purged all caches, open your site in an incognito window, right-click on an image, and select "Open image in new tab." The URL should end in .webp.

Tools & Resources Mentioned

  • WebP Converter for Media (WordPress Plugin)
  • WebP Express (Alternative free plugin)

Litespeed cache

Key Takeaways

  • This is an all-in-one, free, and extremely powerful performance plugin, but it has one major requirement: your website must be hosted on a LiteSpeed Web Server.
  • If you have a LiteSpeed server, this plugin is often the best choice, outperforming even premium options like WP Rocket.
  • It handles everything: page caching, object caching, image optimization (including WebP), CDN integration, database optimization, and more.

Actionable Items (Key LiteSpeed Cache Settings)

  • [General]: Enable "Guest Mode" and "Guest Optimization" for faster initial loads for first-time visitors.
  • [Cache]: Enable the main cache options for pages, REST API, and PHP resources. Enable "Cache Mobile" if you have mobile-specific content or use QUIC.cloud services.
  • [Object]: If your server supports Redis or Memcached, enable Object Cache for faster database queries.
  • [Image Optimization]: Go to the settings and enable "Optimize Original Images," "Create WebP Versions," and "Image WebP Replacement."
  • [Page Optimization]:
    • CSS Settings: Turn ON CSS Minify, CSS Combine, and Load CSS Asynchronously.
    • JS Settings: Turn ON JS Minify. Set "Load JS Deferred" to "Deferred."
    • Media Settings: Turn ON Lazy Load for images and iframes.

Wp Rocket cache

Key Takeaways

  • WP Rocket is a premium, all-in-one caching plugin known for being extremely effective and easy to configure, even for non-technical users.
  • It works on any kind of server (not just LiteSpeed) and is a top choice if you are willing to pay for performance and simplicity.
  • Its specialty is handling complex optimizations like CSS and JS file modifications reliably on most sites.

Actionable Items (Key WP Rocket Settings)

  • [Cache]: Enable caching for mobile devices.
  • [File Optimization]:
    • CSS Files: Enable "Minify CSS files." Then, test enabling "Optimize CSS delivery" (which generates Critical CSS) and "Remove Unused CSS." Check your site carefully after enabling each advanced option.
    • JavaScript Files: Enable "Minify JavaScript files." Then, test enabling "Load JavaScript deferred."
  • [Media]: Enable lazy load for images, iframes, and videos. Also, enable "Add missing image dimensions" to help prevent CLS.
  • [Preload]: Activate preloading and sitemap-based cache preloading to ensure your site is always fast for visitors.

3 Plugin Combo technique

Key Takeaways

  • What if you're not on a LiteSpeed server and don't want to buy a premium plugin like WP Rocket? You can still get excellent results.
  • This technique uses a combination of free plugins that each specialize in one area of optimization.
  • The Combo:
    • A Caching Plugin: W3 Total Cache or Breeze to handle page, browser, and object caching.
    • A File Optimization Plugin: Debloat to handle minification, deferring JavaScript, and removing unused CSS.
    • A Font Optimization Plugin: OMGF (Optimize My Google Fonts) to host Google Fonts locally and ensure they load efficiently.
    • (and) An Image Plugin: The WebP Converter for Media plugin we discussed earlier.

Food for Thought

  • This approach gives you tremendous power for free, but it requires more careful configuration. If your site breaks after enabling a setting (especially in Debloat, like "Remove Unused CSS"), it's likely due to a conflict with your theme or another plugin. Disable the settings one by one to find the culprit.

What if I don't get 100 Pagespeed score

Key Takeaways

  • It is not important to chase a perfect 100/100 score. Getting a green score (90+) is more than enough.
  • What really matters is the real-world page loading time.
  • Benchmark Load Times to Aim For:
    • Cable/Desktop: Under 2 seconds.
    • 4G/Mobile: Under 3 seconds.
    • 3G/Mobile: Under 3.5 seconds.
  • If you've followed the optimization techniques but your scores are still low, the problem likely lies in one of three areas:
    • Slow Hosting: This is often the biggest factor. A cheap shared server will always struggle.
    • A "Heavy" Theme: Bloated themes or drag-and-drop builders can load a lot of unnecessary code.
    • Poor Front-End Plugins: Plugins that add a lot of functionality to the front end (sliders, pop-ups, etc.) can significantly slow down your site.

Actionable Items

  • If your site is still slow, first consider your hosting. Upgrading from a cheap shared plan to a quality cloud VPS like Cloudways can make a massive difference.
  • Next, audit your theme and front-end plugins. Deactivate any unnecessary plugins and consider switching to a lightweight, performance-optimized theme.

Want the Full System Behind These Notes?

These notes are one piece of a much bigger AI search framework.

Take the free GEO Readiness Quiz to see exactly where your business stands with AI search engines today.

Take the GEO Readiness Quiz →

60 seconds ยท Personalized report ยท Free