DEV Community

Jurijs Ivolga
Jurijs Ivolga

Posted on • Originally published at cyberpunk.tools

How I sped up my WordPress from 800ms to 30ms for FREE!

website response after I installed cache plugin

I was frustrated with my WordPress site's slow response times, until I discovered a WordPress Cache Plugin. And it change everything, at least for me!

The Problem 🐌

My WordPress site was struggling with response times:

  • Mostly between 200-400ms (acceptable)
  • Frequent spikes above 1 second
  • Often hovering around 800ms (disappointing)

The Solution ⚑

After one night of testing, I achieved incredible results using Cloudflare

  • Super Page Cache WordPress plugin:
    • Before: 200-800ms+ response times
    • After: Consistent 30-200ms response times
    • Performance comparable to static websites hosted on S3!

Quick Setup Guide πŸš€

Prerequisites

  1. WordPress website
  2. Free Cloudflare account (cloudflare.com)

Step 1: Add Domain to Cloudflare

  1. Log into Cloudflare and add your domain
  2. Select the free plan
  3. Update your domain's nameservers at your registrar
  4. Wait for activation email

Step 2: Fix Common Issues

If you encounter ERR_TOO_MANY_REDIRECTS:

  • Go to SSL/TLS settings in Cloudflare
  • Change encryption mode from "Flexible" to "Full" or "Full (Strict)"
  • This prevents redirect loops between Cloudflare and your server

Step 3: Install Super Page Cache Plugin

  1. In WordPress admin β†’ Plugins β†’ Add New
  2. Search for "Super Page Cache"
  3. Install and activate
  4. Click "ENABLE PAGE CACHING NOW"

Important: Disable any other caching plugins first!

Step 4: Connect to Cloudflare

  1. Get your Cloudflare API key:
    • Profile β†’ API Tokens β†’ View Global API Key
  2. In Super Page Cache settings:
    • Go to "Cloudflare (CDN & Edge Caching)"
    • Enter your Cloudflare email and API key
    • Select your domain
    • Click "Continue"

Step 5: Verify Setup

Click "TEST CACHE" in the plugin settings. You should see:

  • βœ… Cloudflare Page Caching is working properly
  • βœ… Disk Page Caching is functional

Results πŸ“Š

The transformation was immediate:

  • Deployment at 1:00 AM
  • All requests now between 30-200ms
  • Performance matches static site hosting
  • Zero cost - completely free solution!

Key Takeaways πŸ’‘

  • This isn't a silver bullet for all performance issues
  • Completely free solution with enterprise-level performance gains

Top comments (0)