Cache preloading visits your pages in the background so they are already cached when real visitors arrive. Without it, the first visitor after a cache clear waits for WordPress to build the page. With it, almost every visitor gets a cached page.
Available in: Powered Cache (free). Sitemap sources need Powered Cache Premium.
Where to find it: Powered Cache → Preload
Requires: Page caching turned on.
How preloading works #
Powered Cache preloads in two ways:
- Changed pages: when you publish or update content, or when cached pages expire, only the affected URLs are preloaded again.
- Full preload: every URL from your selected sources (home page, public posts, public archives, additional URLs and sitemaps) is checked, and the ones that are not cached yet are preloaded. You choose when this runs with Full Cache Preload.
Preloading runs in the background with WordPress’s Action Scheduler and sends one request at a time. The home page and your Additional Preload URLs are preloaded first, then sitemap pages (Premium), and automatic runs then start with your most recently published content. When Separate Mobile Cache is on, the mobile version of each page is preloaded too.
To protect your server, preloading slows down when pages respond slowly, waits and retries when a request fails, and pauses while the server load is high. It continues on its own when conditions improve.
Set up cache preloading #
- Go to Powered Cache → Preload.
- Turn on Cache Preload (Warm cache automatically).
- Choose when full preloads run in Full Cache Preload. Automatic is right for most sites.
- Choose which URLs to include. The home page, public posts and public archives are on by default. Add other pages to Additional Preload URLs.
- Pick a Preload Speed that suits your hosting plan.
- Click Save Settings. The status panel at the top of the Preload screen shows the progress.
Settings #
Cache Preload #
The Warm cache automatically switch lets Powered Cache preload pages on its own after something changes. Default: off.
When it is on:
- Changed and expired pages are preloaded again, in every Full Cache Preload mode.
- In Automatic mode, all selected URLs are preloaded every time the whole page cache is cleared. Turning the switch on in Automatic mode also starts a full preload when you save.
When it is off, nothing is preloaded on its own after content changes or a cache clear. Full preloads still run in these cases, as long as Page Cache is on:
- The Daily schedule, at the Daily Preload Time.
- Preload all pages now in the status panel.
- The admin bar command Powered Cache → Preload Cache.
- With Premium,
wp powered-cache preloadfrom WP-CLI.
| What is preloaded | Needs Warm cache automatically | Full Cache Preload mode |
|---|---|---|
| Changed and expired pages | Yes | Any mode |
| All selected URLs after the whole cache is cleared | Yes | Automatic |
| All selected URLs once a day | No | Daily schedule |
| All selected URLs when you start a preload (Preload all pages now, admin bar, WP-CLI) | No | Any mode |
Every preload needs Page Cache to be on.
When you turn the switch off, changed pages that are still waiting are dropped, and a full preload that started automatically stops. A full preload that you started, or a daily run, keeps going until it finishes. To end one of those, use Stop preload.
Full Cache Preload #
Sets when all selected URLs are preloaded. Default: Automatic.
| Option | When full preloads run | Best for |
|---|---|---|
| Automatic | Every time the whole page cache is cleared, for example with Purge All Cache or Purge Page Cache in the admin bar, or when you switch themes. This needs Warm cache automatically. With that switch off, full preloads run only when you start one. | Most sites. |
| Daily schedule | Once a day at the Daily Preload Time. This runs even when Warm cache automatically is off. | Large sites, or sites whose cache is cleared often during the day. |
| Manual only | Only when you start one: Preload all pages now, the admin bar Preload Cache command, or WP-CLI. | Sites on limited hosting that want full control over server load. |
You can start a full preload by hand in every mode, even when Warm cache automatically is off. When that switch is on, changed and expired pages are also preloaded again in every mode.
If you switch to Automatic while Warm cache automatically is on, a full preload starts when you save.
Daily Preload Time #
Shown when Full Cache Preload is set to Daily schedule. Default: 02:00. The time uses your WordPress timezone (Settings → General). The run starts the next time the scheduler checks for work, so it can begin a few minutes late on low-traffic sites.
Preload Homepage, Public Posts and Public Taxonomies #
Choose which URLs are preloaded. All three are on by default.
- Preload Homepage: your front page.
- Preload Public Posts: posts, pages and public custom post types that have front-end pages.
- Preload Public Taxonomies: category, tag and other public archive pages that contain posts.
Automatic, scheduled and admin-bar full preloads include the 1,000 newest posts and, for each taxonomy, the 100 archives with the most posts. Preload all pages now and WP-CLI include every public post and archive. Developers can change the limits with the powered_cache_preload_post_limit and powered_cache_preload_term_limit filters.
Additional Preload URLs #
Extra pages to preload, one per line. Use a full URL or a path on your site, for example /contact/ or /landing-page/. URLs on other domains are ignored.
Sitemap Preload and Sitemap URLs (Premium) #
Uses your XML sitemaps as an extra URL source. Sitemap URLs are preloaded after the home page and Additional Preload URLs, and before posts and archives. See Sitemap Preload.
Preload Speed #
Sets how long Powered Cache waits between preload requests. Default: Balanced.
| Speed | Wait between requests | Choose it when |
|---|---|---|
| Gentle | 2 seconds | You are on shared hosting or your host limits CPU usage. |
| Balanced | 0.5 seconds | Most sites. |
| Fast | No wait | You have a VPS or dedicated server with spare capacity and many pages to warm. |
| Custom | Your own value in Seconds Between Requests (at least 1 second) | Your host recommends a specific request rate. |
Whatever you choose, preloading still sends only one request at a time and slows down on its own when pages respond slowly or the server is busy.
New in 4.1: Preload Speed replaces the single request interval setting from earlier versions. Sites that used the old default of 2 seconds are moved to Gentle, and other values are kept as a Custom speed, so your preload pace does not change after updating.
Read the preload status #
The status panel at the top of Powered Cache → Preload explains in plain language what preloading is doing right now, when the next full preload runs, and how the last one went.
While a full preload runs, the panel shows a progress bar. Pages are found and preloaded in batches, so until every page has been found, the total is an estimate based on your sources and limits, for example 120 of about 1,119 pages checked. Once every page has been found, the panel shows the exact number. The final number is often a little lower than the estimate, because excluded pages and duplicates are left out, and Premium sitemaps can add pages. On multisite networks the panel shows only the number of pages checked so far.
If the whole page cache is cleared and no full preload follows, for example in Manual only mode or with Warm cache automatically off, the panel shows The cache was cleared with the date, until the next full preload.
- Ready for visitors: pages that were preloaded or were already cached.
- Not preloaded: pages that were skipped on purpose. Open Why were some pages not preloaded? to see the reasons and recent example URLs.
- Errors: pages that could not be loaded, even after a retry.
Why a page is not preloaded #
| Shown as | What it means | What to do |
|---|---|---|
| Pages are excluded in your settings | The URL matches one of your cache exclusions, so it is never preloaded. | Nothing, if the exclusion is intended. |
| Pages cannot be cached | The page loaded but asked not to be cached. This is normal for carts, forms and pages that change for every visitor. | Nothing for such pages. If a normal page shows up here, see Page is not being cached. |
| Links redirect to other addresses | The URL redirects. This is usually fine, for example for old or shortened links. Only the page they lead to can be cached. | Nothing, unless you listed the URL yourself. Then replace it with the final address. |
| Links lead to missing pages | The URL shows a “page not found” error. | Fix or remove it in your menus, sitemap or Additional Preload URLs. |
| Pages could not be loaded (Errors) | Your server returned an error or did not answer in time. | Open the page in a browser and check your server’s error log. A slower Preload Speed can help. These pages are tried again on the next preload. |
Missing, redirecting and uncacheable pages are checked again after a week, or right away when you use Preload all pages now. Preloading also skips URLs that are never cached, such as feeds, REST API and XML URLs, and WooCommerce cart, checkout and account pages.
Preload all pages now #
Starts a full preload right away. It checks every page again, including pages skipped earlier, and preloads the ones that are not cached. Your existing cache is kept. It works in every Full Cache Preload mode, even when Warm cache automatically is off, as long as Page Cache is on. The button is hidden while a full preload is running. Use it after you fix the reason pages were skipped, or after a large content import.
Stop a full preload #
While a full preload is running or about to start, click Stop preload next to Refresh. The preload ends after the page it is working on. Pages that were already preloaded stay cached, and changed pages are still preloaded again as usual. In Automatic mode the next full preload starts the next time the whole cache is cleared, and with Daily schedule at the next Daily Preload Time.
Afterwards the panel shows The last full preload was stopped, with the pages it checked before it stopped. Click Preload all pages now to preload the rest. The panel shows the same when a full preload ends early for another reason, for example when its WP-CLI command stops or page caching is turned off.
A full preload started with WP-CLI shows no button. Stop it in the terminal with Ctrl+C.
New in 4.1: the status panel, Preload all pages now, Stop preload, the Daily schedule and Manual only modes, and skip reasons with example URLs. Before 4.1, a full preload always ran after the whole cache was cleared, and the Preload screen did not show its progress.
Other ways to start a full preload #
- Admin bar: Powered Cache → Preload Cache. It is available in every mode, even when Cache Preload is off. On WPML sites it keeps the selected language. The preload starts when WordPress next runs background tasks, usually within a minute. Until then, the status panel shows Starting a full preload.
- WP-CLI (Premium):
wp powered-cache preloadruns a full preload in the foreground, shows progress and ends with a summary. See WP-CLI commands.
Troubleshooting #
Preloading does not start or stops making progress #
- Make sure Page Cache is on. Otherwise the status panel shows Page cache is off.
- Preloading relies on the WordPress scheduler. If
DISABLE_WP_CRONis set inwp-config.php, make sure a server cron job callswp-cron.phpregularly. - Your site must be able to send HTTP requests to itself. Security plugins, firewalls, or password protection on staging sites can block these requests.
- If the panel says Your server is busy, so preloading takes a break, preloading is waiting for the server load to drop. It continues automatically.
More checks are in Preload is not running.
Preloading slows down my server #
To end a full preload right away, click Stop preload. To prevent it, choose a slower Preload Speed, switch Full Cache Preload to Daily schedule at a quiet hour, or turn off sources you do not need, such as public archives. On servers that report load averages, you can also set the load level at which preloading pauses:
define( 'POWERED_CACHE_PRELOADER_MAX_SERVER_LOAD', 4 );
Related docs #
- Page caching
- Sitemap Preload (Premium)
- Clearing the cache
- WP-CLI commands (Premium)
- WPML and multilingual sites