Why WordPress Sites Slow Down
Every time someone visits a normal WordPress page, the server runs PHP code and queries the database to rebuild that page from scratch. That's flexible, but it's also slow compared to serving a page that's already built and waiting.
Performance work is mostly about avoiding unnecessary work — serving what you can from a cache, and only rebuilding what's actually changed.
- ✓Caching stores a ready-made version of a page so WordPress doesn't rebuild it on every visit.
- ✓Image size is usually the single biggest factor in how fast a page feels.
- ✓A fast host and a lean plugin list matter more than most one-off optimizations.
The Main Levers for Speed
Most performance gains come from a small set of changes, not dozens of tiny tweaks.
Serves a pre-built copy of a page instead of regenerating it on every request.
Compresses and resizes images so pages don't load unnecessarily large files.
Delays loading images below the fold until the visitor actually scrolls to them.
Serves static files from a server physically closer to each visitor.
From Request to Cached Page
Once caching is set up, most visitors never trigger a fresh page build at all.
// What happens on a cached page request 1st visitor // WordPress builds the page, plugin saves a copy 2nd visitor // the saved copy is served instantly, no rebuild Cache expires // or content changes, next visit rebuilds it
Installing and Configuring a Cache Plugin
Unoptimized vs Optimized Images
Where Beginners Go Wrong
Breaking Down What You Just Learned
Caching avoids repeated workA stored copy of a page is faster than rebuilding it every time.
Images are usually the biggest costCompressing and resizing them often gives the biggest speed win.
A CDN shortens distanceIt serves files from a location physically closer to each visitor.
Exclude dynamic pagesLogged-in and checkout pages need fresh content, not a cached copy.
Fewer plugins helpsEvery active plugin adds some amount of overhead to every page.
Try It Yourself
Run your homepage through a free speed-testing tool, note the load time, then install a caching plugin and optimize your largest image — and test again to see the difference.
Speed Up Your Capstone Site
Making your site noticeably faster
By the end of today, your capstone site should load faster and be measurably lighter than when you started.
- Install and configure a caching plugin with page caching enabled.
- Compress and resize every image on your homepage.
- Enable lazy loading for images below the fold.
- Remove any plugin you're not actually using.
- Re-run a speed test and compare the results to your starting point.
Recap
Serves a pre-built copy instead of rebuilding on every visit.
Usually the single biggest lever for perceived speed.
Delays offscreen images until the visitor scrolls to them.
Serves static files from a location closer to each visitor.
Key Takeaways
- Caching serves a pre-built copy of a page instead of regenerating it on every visit.
- Image optimization is usually the single biggest factor in how fast a page feels.
- Lazy loading and a CDN both reduce how much has to load before a page feels ready.
- Exclude logged-in and checkout pages from caching to keep dynamic content accurate.
- Remove unused plugins and re-test your site's speed periodically, not just once.