Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Full-page cache off or bypassed in WordPress: how to fix it

PRF-053Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A full-page cache saves the complete HTML of a page after WordPress builds it once. The next visitor gets that saved file straight away. Without it, WordPress loads its core, your theme and plugins, runs database queries and builds the page again for every request.

The cache can be missing for several reasons: the cache plugin was deactivated or never set up, a setting such as 'Enable caching' was switched off, a host-level cache was turned off after a migration, or something is bypassing it. Common bypass causes are a Cache-Control: no-cache header sent by a plugin, a cookie that tells the cache to skip the page, a query string the cache does not ignore, or a page type you excluded by mistake.

Why it costs you leads or sales

Slow server responses delay everything that comes after them: the page renders later, images load later and your form or buy button appears later. Visitors from ads are the least patient, and you pay for each of those clicks. Uncached pages also put heavy load on the server, so a burst of traffic from a campaign can make pages slower still or cause errors.

Server response time with and without page cacheExample numbers
Server response time with and without page cache (example)Cache on (HIT): 120 ms; Cache off (PHP each time): 950 ms; Cache off under campaign load: 2,200 ms08431,6871209502,200Cache on (HIT)Cache off (PHP each t…Cache off under campa…ms

Example: illustrative TTFB values for the same landing page. Your numbers will differ by host and theme.

What happens when the cache is bypassed
  1. Ad clickVisitor requests the landing page
  2. Cache checkCache skipped or switched off
  3. PHP and databasePage rebuilt on every visit
  4. Slow first bytePage starts rendering late
  5. Form or checkoutSome visitors leave before it loads

Every visit goes through the slow path, so the first byte arrives late and the rest of the journey starts late.

How to check if your site has it

The quickest test is to read the response headers of a page that should be cached, such as your home page or a landing page. Request it twice. The first request may be a miss, but the second should be a hit.

Request the page twice and compare headers and timingbash
curl -s -o /dev/null -D - https://example.com/landing-page/ | grep -iE 'cache|age|x-|server|set-cookie'
curl -s -o /dev/null -D - https://example.com/landing-page/ | grep -iE 'cache|age|x-|server|set-cookie'

# TTFB for the page
curl -s -o /dev/null -w 'TTFB: %{time_starttransfer}s\n' https://example.com/landing-page/
Common signs of a cached or uncached page. Header names vary by plugin and host.
What you seeWhat it usually means
x-cache: HIT, cf-cache-status: HIT, or an Age header above 0Page is served from a cache
x-cache: MISS or BYPASS on repeated requestsCache is skipped for this page
Cache-Control: no-store, no-cache, max-age=0Something is telling caches not to store the page
Set-Cookie on a public pageA cookie may cause the cache to bypass the page
Comment at the end of the HTML such as 'Cached page generated by...'Plugin cache is working (view source to check)
TTFB several times higher than a static file on the same hostHTML is being built by PHP each time
Quick manual checks
  • Is the cache plugin active under Plugins in the WordPress admin?
  • Is page caching switched on inside the plugin settings?
  • Does your host have its own cache setting (often in the hosting panel) that is off?
  • Do the second and third requests to the page show HIT or a faster time?
  • Is the page excluded by a rule, a logged-in state or a cookie?
  • Test in a private window while logged out, because logged-in users are often not cached

How to fix it

Turn full-page caching back on
  1. Find which cache layer you use

    It may be a plugin (WP Rocket, W3 Total Cache, LiteSpeed Cache, WP Super Cache, WP Fastest Cache), a host cache (many managed WordPress hosts have one) or a CDN rule. Use only one page cache at a time, because two can conflict.

  2. Enable page cachingWordPress

    Reactivate the plugin if needed and switch page caching on in its settings. Then clear the cache once.

  3. Find what is bypassing it

    Look at the headers from the check above. Remove or fix whatever sends no-cache headers, sets unneeded cookies on public pages or appears in the plugin's exclusion list.

  4. Exclude only what must stay dynamic

    Cart, checkout, account and similar pages should not be cached. Landing pages, blog posts and category pages usually should be.

  5. Warm the cache

    Use the plugin's preload option if it has one, or visit key pages once after clearing the cache.

  6. Re-test

    Run the curl check again and confirm a HIT and a lower TTFB.

Where to switch caching on
  1. Check the plugin is active

    Go to Plugins > Installed Plugins and activate your cache plugin if it is off.

  2. Enable page cache

    Open the plugin settings and turn on page or 'cache' options. In WP Rocket this is on by default once active; in W3 Total Cache use Performance > General Settings > Page Cache; in LiteSpeed Cache use the Cache tab.

  3. Check wp-config.php

    Cache plugins usually need define( 'WP_CACHE', true ); in wp-config.php. If it is missing or set to false, caching may not run.

  4. Check host cache

    On managed hosts, look in the hosting dashboard for a caching toggle and make sure it is on.

wp-config.php: page cache plugins usually need thisphp
define( 'WP_CACHE', true );

How to confirm it's fixed

Before and after

Cache bypassed

  • Headers show MISS or BYPASS on repeat requests
  • Cache-Control says no-store or no-cache
  • TTFB is high and uneven
  • Server load rises with ad traffic

Cache working

  • Second request shows HIT or an Age value
  • TTFB is low and steady
  • Cart and checkout still work and are not cached
  • Server load stays flat during campaigns
Confirmation checks
  • Repeat requests to your key landing pages return a cache HIT
  • TTFB is clearly lower than before
  • A logged-out visitor sees the latest content after you update a page
  • Forms still submit and test leads still arrive
  • Cart and checkout pages are not served from cache

How to prevent it happening again

Habits that keep the cache on
  • After a migration, host change or plugin update, re-run the header check on your main landing pages
  • Keep one page cache layer only
  • Review the exclusion list when you add plugins that set cookies or headers
  • Write down which pages are meant to be uncached and why
  • Watch TTFB over time so a rise gets noticed quickly

How FunnelGuard handles this

FunnelGuard detects this issue only partly. It does not read your cache plugin settings or tell you that caching is switched off. What it does see is the symptom: when it runs your journeys on a schedule, a rise in TTFB on the pages it visits can show up, and a failed step gets a second check from another region before one alert is sent with a screenshot and a likely cause.

Questions people ask

Why is my WordPress page cache not working?

Common causes are the cache plugin being deactivated, page caching switched off in its settings, WP_CACHE missing from wp-config.php, or a header or cookie that makes the cache skip the page. Check the response headers on a second request to see whether you get a HIT or a MISS.

How do I check if a WordPress page is served from cache?

Request the page twice with curl -I or your browser's Network tab and look for headers such as x-cache, cf-cache-status or Age. A HIT or an Age above zero on the second request means a cache served it. Many plugins also add an HTML comment at the end of the page source.

Why is my TTFB high on WordPress?

A very common cause is that pages are built by PHP and the database on every visit because full-page caching is off or bypassed. Slow hosting, heavy plugins and slow database queries can also raise it. Compare the TTFB of a cached page with an uncached one to see how much the cache matters.

Should I cache all pages on a WordPress site?

No. Cache public pages such as landing pages, posts and category pages. Leave cart, checkout, account and other personalised pages uncached so visitors never see each other's data.

Can two cache plugins run at the same time?

You should avoid running two page-cache layers together, because they can conflict and cause stale or broken pages. Use one page cache, and a separate CDN or host cache only if you know how they work together.

Does Cache-Control no-cache stop my page from being cached?

It can. A Cache-Control header such as no-store or no-cache tells caches not to store or reuse the page without checking first. Find the plugin, theme or server rule sending it and remove it for public pages.

Does FunnelGuard tell me when my cache plugin is off?

Not directly. FunnelGuard sees the effect as a rise in TTFB on the pages it checks, but it does not read cache settings or report HIT and MISS. Use the header check in this guide to find the cause.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: seen as TTFB rise.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.