There was a problem loading the comments.

Setting Up Caching for WordPress

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Setting Up Caching for WordPress (No Coding Required)

Step 1: Install a Caching Plugin

There are many caching plugins for WordPress, but let’s use WP Super Cache, one of the easiest for beginners.

  1. Log in to your WordPress dashboard.

  2. Go to Plugins > Add New

  3. Search for WP Super Cache

  4. Click Install Now, then Activate


Step 2: Turn On Caching

Once the plugin is active:

  1. Go to Settings > WP Super Cache

  2. Under Easy tab, select Caching On

  3. Click Update Status

  4. Then click Delete Cache to refresh everything

Your site now uses caching, meaning returning visitors will get your pages much faster.


Connecting Your WordPress Site to Cloudflare (Free CDN)

Step 1: Sign Up and Add Your Site to Cloudflare

  1. Visit https://www.cloudflare.com

  2. Click Sign Up

  3. Enter your email and password

  4. Add your domain name (e.g., yourdomain.com)

  5. Choose the Free Plan when prompted

  6. Cloudflare will scan your DNS and show you your current records


Step 2: Change Your Domain's Nameservers

  1. Cloudflare will give you two new nameservers (e.g., lisa.ns.cloudflare.com)

  2. Log in to your domain registrar (like Namecheap or GoDaddy)

  3. Go to your domain settings > Nameservers

  4. Replace the existing nameservers with the ones from Cloudflare

  5. Save changes

It may take a few hours for this to update, but your site will remain live.


Step 3: Adjust Cloudflare Settings for WordPress

After nameservers update:

  1. Log in to Cloudflare

  2. Click your domain

  3. Go to the Caching tab:

    • Set Caching Level to Standard

    • Turn on Always Online

  4. Go to Speed > Optimization:

    • Turn on Auto Minify for HTML, CSS, JavaScript

    • Enable Brotli compression


Keep Things Working Smoothly

  • If you update your website and the changes don’t appear, clear the cache in both:

    • WP Super Cache (Settings > WP Super Cache > Delete Cache)

    • Cloudflare (Caching > Configuration > Purge Everything)


Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

CAPTCHA

On-Premise Help Desk Software by SupportPal
© Support Portal - WP Lighthost