Caching & Performance
You will start this module by exploring some of the different caching layers and techniques in WordPress. You'll learn how PHP handles requests and how to measure response time via logging.
Next, you will get your hands dirty with a persistent object caching plugin, such as Redis or Memcached. Then you'll install and configure a page caching plugin, and integrate it with Cloudflare for edge caching.
Finally, we'll take you through some load testing we've done to compare dedicated servers vs. cloud VMs, Redis vs. Memcached vs. SQLite, and some side-by-side comparison of page caching plugins and techniques.
Lessons in this module
- Caching in WordPress
- Understanding, measuring and logging response time with Nginx
- Redis Object Cache for WordPress
- Memcached Object Cache for WordPress
- Page caching with Surge and Cloudflare
- Page caching with Batcache and Cloudflare
- Performance benchmarks
Next module: WordPress Security