The Ideal WP Super Cache Settings 2023 (Advanced Tab, Expert Mode, Using A CDN)

Wp super cache settings

WP Super Cache is a free cache plugin by Automattic, but caching is really all it does.

I’ll show you how to set up the WP Super Cache settings including the Advanced settings, CDN, and plugin tabs. If you’re on the hunt for the best cache plugin to address core web vitals and improve load times as much as possible, look elsewhere (giving you a heads up before we start).

Some settings depend on whether your website is dynamic or eCommerce, whether you’re using shared vs. VPS hosting, and how often you update content and make changes to your site. Make sure you understand what each one does and configure the best settings for your website.


1. Easy

  • Caching: On – the whole point of using the plugin.
  • Test Cache: test the cache to make sure it’s actually working.
  • Timestamps don’t match: if you get the error “The pages do not match! Timestamps differ or were not found!”, try disabling HTML minify in Cloudflare and purge the cache.

Wp super cache easy settings


2. Advanced

  • Caching: Enable caching.
  • Cache delivery method: Expert – this is faster than simple mode with less chance of CPU spikes since it bypasses PHP and requests are lighter (described on the plugin page). Once this is turned on, scroll down and click “Update Mod_Rewrite Rules.” WP Super Cache will automatically modify your .htaccess file and show you the message below. If it fails, you’ll need to edit the rules yourself which you can do directly in WP Super Cache. And if that fails, use simple mode. NGINX users will need to take a few extra steps to use Expert mode. Also note that some settings (such as dynamic caching) are only available in simple mode.

Wp super cache mod rewrite rules

  • Cache restrictions: Disable caching for logged in visitors – logged-in users need to see unique data, but if there’s caching, they may not see it. That’s why this is recommended.
  • Don’t cache pages with GET parameters: On – same concept as above. When you have query strings such as ?country=sweden, don’t cache them since these pages are dynamic.
  • Compress pages: On – uses GZIP to compress pages, although if your host supports Brotli, you should use that instead since it’s more effective at reducing the size of pages.
  • Cache rebuild: On – if the cache is being rebuilt and is unavailable, the old cache file will be used until the new one is created. This not only ensures visitors get a cache HIT, but it prevents CPU spikes since uncached pages won’t be served (which use a lot of resources).
  • Cache HTTP headers with page content: caches content using PHP scripts but is only available in simple mode (which is slower). If using simple mode, you should turn it On.
  • 304 Browser caching: only available in simple mode. In this case, you’ll want to turn this On. Browser caching speeds up your site by storing common files in the visitor’s browser.
  • Make known users anonymous so they’re served supercached static filesOff – this overrides “disable caching for logged-in visitors” and should generally be left disabled.
  • Enable dynamic caching: only available in simple mode. In this case, you’ll want to turn this On since it keeps parts of your website dynamic (see more notes on the plugin page).
  • Mobile device support: Off – serves a separate cached file for mobile users which isn’t needed if you have a responsive website. Only enable if you use a separate mobile theme.
  • Remove UTF8/blog charset support from .htaccess fileOff – if you see weird characters on your website (Â â ¢), this should fix it. Otherwise, you should leave this setting disabled.
  • Clear all cache files when a post or page is published or updated: On – when you publish or update content, this clears the cache so other parts of your website (like your blog page) shows the most recent post. I wish it gave you better control of which content gets cleared since clearing the entire cache uses resources, but that’s what they give you.
  • Extra homepage checks: On – I’m guessing this checks the homepage more frequently before building the cache, or even during. WP Super Cache recommends turning this on.
  • Only refresh current page when comments made: On – when someone leaves a blog comment, only that page is refreshed. Makes sense since no other pages were changed.
  • List the newest cached pages on this pageOff – see that yellow box on the right side of your WP Super Cache dashboard? This just adds another section under “Rate this plugin” which shows all your newly cached pages. If you don’t want to see this, leave it disabled.
  • Coarse file lockingOff – WP Super Cache clearly says this can slow down your website.
  • Late initOff – if you check your source code and see the error “Super cache dynamic page detected but late init not set”, enabling this setting will fix it. Otherwise, leave it off.
  • Cache location: nothing to do here, it just shows you the directory of your cached files.
  • Cache timeout: most websites should increase this from 1800 to around 7200 which is 2 hours. If you use the default settings (1800 seconds), this can easily overload your server since the cache is rebuilt every 30 minutes. The 2 main factors to consider when setting this number are how often you update your site, as well as how powerful your server is. If you’re on shared hosting and don’t update your site often, you can increase it even more. Large websites that publish lots of time-sensitive content would probably decrease this.
  • Scheduler: Timer – this lets WP Super Cache check for stale cached files using intervals. “Clock” lets you set a specific time which is good if you don’t update your site often. Like the previous setting, the number depends on how often you make updates and the server.
  • Accepted filenames & rejected URIs: dynamic pages (especially on WooCommerce sites) should be excluded from the cache while static content (pages/posts) should be cached.
  • URL strings, cookies, filenames, tracking parameters, user agents: the previous setting should give you enough control over what’s cached and not, otherwise you can use these.
  • Lock down: Disabled – only use if you expect a large traffic spike. This prevents the cache from being refreshed when new comments are made. Most sites shouldn’t need to use it.

Wp super cache advanced settings


3. CDN

The WP Super Cache CDN settings should only be used if you’re using a CDN URL (i.e. This is not for Cloudflare.

CDN URLs are used by BunnyCDN (what I use on top of Cloudflare), KeyCDN, StackPath, and most other CDNs besides Cloudflare. They usually require you to create a pull zone first, select which regions you want to use, then they assign you a CDN URL (also called a CDN Hostname).

Bunnycdn cdn url

Once you have the CDN URL, click “Enable CDN Support” in WP Super Cache and paste it into the “Off-site URL” field. There is usually no reason to configure any of the other CDN settings.

Wp super cache cdn settings

Purge your CDN cache and make sure files are being served from it:

Bunnycdn source code


4. Contents

The content tab shows cache vs. expired pages and has settings to delete the cache. This was set up on a demo website with no content, but yours should show your pages are being cached.

Wp super cache contents settings


5. Preload

Preloading is good because it generates cached files for your posts, categories, and tags. Preloading is bad because it can use a lot of server resources. I recommend it if you’re on a VPS or higher, but leave it off if you’re on shared hosting. You can always test it and see for yourself.

To use it, select preload mode (garbage collection disabled). You probably don’t want to preload tags or categories unless those are important pages on your blog. I set the preload to refresh every 1440 minutes (1 day) so it won’t use as much CPU as the default (600 minutes).

Wp super cache preload settings


6. Plugins

Nothing to do here unless you use one of the plugins below.

Wp super cache plugin settings


7. Debug

Used for debugging, nothing to do here otherwise.

Wp super cache debug settings

Hope this helped!


You Might Also Like:


  1. Fantastic guide – I just figured out that WP Super Cache hasn’t been doing anything for me for 1+ years due to a Minify HTML setting on Cloudflare!

    Thank you!

  2. You should really update this article, especially the images.
    Anyways thaks for sharing this amazing content with the world! :)))

  3. Hi, interesting guide. I’m curious about something:

    Is there a specific reason why you did not mention Swift Performance (free and pro)? Is it because you do not like it for some reason or just do not know it? As I understand is a really good cache plugin and the free version works really well.

    • I have a tutorial for all the most popular cache plugins. This guide isn’t a review of best cache plugins, just for people who use WP Super Cache. Though I agree with you, WP Rocket and Swift are usually better.

  4. Hi! Thank you so much for all your helpful SEO content. I am using WP Super cache but I can’t use cloudflare as my host is not too happy about changing the dns. Would super cache still be helpful?

    • Yes, a cache plugin still makes several optimizations that should speed up your site, however people are tending to move towards more reliable cache plugins like WP Rocket, Swift Performance, and SiteGround’s SG Optimizer just had a huge update.

  5. I have Cloudflare set up already, I also have WP super cache set up. (I don’t have it set up through the plugin, my host had the option to link Cloudflare through the Cpanel) However, when I run my site through Pingdom tools I get an F for content delivery network.

    Why is this?

  6. Hi,

    Thanks for the article.
    You mentioned cloudflare Zone ID has to be entered in WP super caches CDN settings. But there is no option for this at WP super caches CDN settings

    Please advice.


    • Ah, that’s my fault Joel. You don’t need to do that (you’re right, there is no option for that in WP Super Cache)… changing name servers is what you need to do.

    • WP Fastest Cache is definitely easier to setup and just released an update with Cloudflare integration. I would try that first.

  7. Great Article !

    I literally followed word by word, still struggling to get even 80 Page-speed and Y Slow score.

    What is the setting needed under CDN tab , if I am using Cloudflare. What OFF-SITE url should I put.

    Thanks in advance !

    • You won’t use the CDN section of WP Super Cache when using Cloudflare, that is specifically for MaxCDN, KeyCDN, etc.


Leave a Comment