Site speed matters more than most small site owners realize. Google uses Core Web Vitals as a ranking signal, which means a slow site is actively hurting your search visibility — not just annoying your visitors. For a WooCommerce site, it’s even more direct: a sluggish checkout experience costs real sales.
When Claude audited kindoflost.com, performance was one of the clearest areas for improvement. The site was on shared HostGator hosting — not a fast environment by default — with no real caching stack in place and a PayPal SDK loading on every single page, including blog posts that had nothing to do with payments. This post covers exactly what we fixed and the logic behind each decision.
Start by Measuring What You Actually Have
Before changing anything, run your site through two free tools:
- Google PageSpeed Insights (pagespeed.web.dev) — gives you scores for both mobile and desktop, and breaks down specific issues by category. Run the mobile score first; it’s usually lower and Google weights mobile heavily.
- Jetpack Boost — if you have Jetpack installed, Boost gives you a site-specific score and flags the exact issues affecting your Core Web Vitals. It also applies fixes with a toggle, which makes it useful even beyond the diagnostic.
Take note of your scores before making any changes. You’ll want a baseline to compare against after each fix. Don’t be discouraged if the mobile score is low — scores in the 40s and 50s are common for shared hosting before any optimization.

Build a Three-Layer Caching Stack
Caching is the single highest-impact performance improvement for a WordPress site on shared hosting. The idea is simple: instead of rebuilding every page from scratch every time someone visits, you serve a saved copy. The more layers of caching you have, the fewer requests reach your origin server.
For kindoflost.com we set up three layers, all free:
Layer 1: Cloudflare (edge caching)
Covered in Post 2 — Cloudflare sits furthest from your server and serves cached pages to visitors from data centers close to them geographically. With the cache rules set up correctly, repeat visitors to static pages never hit your HostGator server at all. This is the biggest performance win for traffic that’s already been cached.
Layer 2: WP Optimize (server-side caching)
WP Optimize handles caching at the WordPress level — it generates static HTML files of your pages and serves those instead of dynamically building pages on every request. Install it, go to WP Optimize → Caching, enable page caching, and configure the exclusions to match your Cloudflare bypass list: /cart/, /checkout/, /my-account/, and any other dynamic pages.
WP Optimize also includes a database optimization feature worth running periodically — it clears out old post revisions, spam comments, and transient data that accumulate over time and slow down database queries.
Layer 3: Jetpack Boost (front-end optimization)
Jetpack Boost handles the browser side of performance. Its key features for a site like kindoflost.com:
- Critical CSS generation: Boost identifies the CSS needed to render what’s visible above the fold and inlines it directly in the page. This eliminates render-blocking CSS requests and is one of the most impactful things you can do for Largest Contentful Paint.
- Lazy loading for images: Images below the fold only load when the visitor scrolls down to them, reducing initial page weight significantly.
- Deferred non-essential JavaScript: Scripts that don’t need to run immediately are deferred until after the page renders, improving Time to Interactive.
Enable all three in Jetpack Boost → Settings. Each one has a toggle. After enabling Critical CSS, Boost will run a generation process that takes a minute or two — let it complete before testing your scores.
Scope PayPal to Load Only on WooCommerce Pages
This was one of the most impactful single fixes in the entire audit. PayPal’s JavaScript SDK is a heavy script — it adds meaningful weight and processing time to any page it loads on. By default, WooCommerce with PayPal enabled loads the PayPal SDK on every page of the site. That means a blog post about credit scores is loading PayPal JavaScript in the background for no reason.
The fix is to restrict PayPal to only load on pages where it’s actually needed: cart, checkout, and product pages. This is done via a small code snippet in the Code Snippets plugin:
add_filter('woocommerce_paypal_payments_sdk_components_hook', function($components) {
if (!is_cart() && !is_checkout() && !is_product()) {
return [];
}
return $components;
});
Add this via Code Snippets → Add New, set to run on Front-end only, activate. After this change, PageSpeed tests on non-WooCommerce pages will show a noticeable drop in Total Blocking Time — the metric most affected by heavy third-party scripts.

Fix Your Site Icon Size
This is a small fix but PageSpeed will flag it: your WordPress site icon needs to be at least 512×512 pixels. If it’s smaller, WordPress and Jetpack’s image CDN can’t generate the correctly-sized variants for different devices, and PageSpeed flags it under “Does not provide a valid apple-touch-icon.”
Go to Appearance → Customize → Site Identity → Site Icon. If the current icon is smaller than 512×512, upload a new one at that size or larger. Don’t re-upload the same file — use a new filename so WordPress creates a fresh attachment and generates correct size variants.
One subtlety: if you use Jetpack’s Photon CDN for images, Photon won’t upscale images. So if your source image is 128×128, Photon will serve 128×128 even when WordPress asks for 192×192. The fix is always to start with a large enough source — 512×512 minimum, 1024×1024 is safer.
What Site Speed Actually Does for Google Rankings
Speed is a Google ranking factor, but it’s worth being honest about how much it matters compared to content quality. For a small site, fixing performance won’t suddenly push you to page one. What it does:
- Removes a negative: A slow site can actively hurt your rankings via poor Core Web Vitals scores. Fixing performance removes that penalty.
- Improves crawl efficiency: Google gives each site a crawl budget. A faster site lets Google crawl more pages per visit, which means freshly updated content gets indexed faster.
- Reduces bounce rate: Visitors who hit a slow page leave. A faster site keeps people around long enough to actually read your content and possibly convert.
Think of performance optimization as clearing the floor, not building the ceiling. Content quality, E-E-A-T signals, and keyword targeting are what build the ceiling. But a slow, insecure site is a floor full of obstacles.
What We Didn’t Do (And Why)
- WP Rocket or other premium caching plugins: WP Optimize handles what we need for free. WP Rocket is excellent but costs money, and the marginal gain over a properly configured free stack is small for a site this size.
- Upgrading hosting: Moving from shared hosting to a VPS or managed WordPress host would help, but it costs significantly more and introduces migration risk. The goal was to squeeze as much performance as possible from the existing setup first.
- Image compression plugins: Jetpack’s Photon CDN already handles image optimization and WebP conversion for served images. Adding a separate image compression plugin on top would be redundant.
Performance Optimization Checklist
- Run PageSpeed Insights and Jetpack Boost to get your baseline scores
- Set up Cloudflare cache rules (Post 2)
- Install and configure WP Optimize with page caching and cache exclusions
- Enable Jetpack Boost — Critical CSS, lazy loading, deferred JS
- Scope PayPal SDK to load only on cart, checkout, and product pages
- Upload a 512×512+ site icon via Appearance → Customize → Site Identity
- Enable Smart Tiered Cache in Cloudflare (Post 2)
- Re-run PageSpeed Insights and compare to your baseline
→ Continue to Post 5: WooCommerce-Specific Fixes — Caching, Checkout, and Cart Problems
← Back to Post 3: WordPress Security Hardening Without Touching Code
Things that I use, like, and am affiliated with:
Mint Mobile offers great cell phone service for $15 flat, get $15 off using the link. Get discounted phones with service activation and no contract.
I never spend money before I check Mr Rebates or Rakuten to get cashbacks, rebates, discounts, coupons or cheaper gift cards.
