Store admin
Caching
See where the storefront's rebuild of its pages stands, fix a backend with no clock, and purge pages by hand when a change went missing.
The storefront keeps ready-built copies of its pages, so shoppers rarely wait for WordPress. When you change something, WordPress tells the storefront, and the storefront rebuilds the pages the change reached. The Caching tab shows where that rebuild stands, and lets you purge by hand when a change went missing.
Before you start
Section titled “Before you start”- The Storefront URL and the Cache purge secret are saved on the General tab (Connect the storefront). Without them nothing can be sent, and the tab says so.
- WordPress has a cron job that runs every minute. Every change waits for it.
How a change reaches shoppers
Section titled “How a change reaches shoppers”-
You save a product, a page or a setting. Fifteen seconds later WordPress queues one signal for the storefront, and its next background run (within a minute) sends it.
-
The storefront empties the pages the change reached, then rebuilds the ones it keeps ready: Home, the category index, the content and policy pages, every product page, the blog and its posts, each listing’s first page in its common sorts and layouts, and the brand directory. A product’s signal rebuilds that product’s page, Home, the category index and the first pages of its categories, brands and tags.
-
Other views, such as page 2 of a listing or a filtered view, are rebuilt by their next visitor.
So shoppers see a change within about a minute of your save. Two things happen on their own besides:
- The hourly check. Every ten minutes the storefront looks at a sixth of the pages it keeps ready, so at all of them each hour, and rebuilds any it finds empty, whatever emptied it.
- The Daily Purge, at 04:00 in your site’s time zone. It brings the best-selling and top-rated order on your listings up to date and rebuilds the pages that use it.
Read the status line
Section titled “Read the status line”Under Purge and rebuild everything the tab shows where the storefront’s rebuild stands. It asks the storefront when the tab opens; Check again asks once more.

| Line | What it says |
|---|---|
| Rebuilding after … | A rebuild is under way: what started it (a product save, the 04:00 Daily Purge, the hourly check, a deploy…), since when, and how many pages are done. |
| Last rebuilt after … | The last rebuild that finished, with its start and end. |
| Last full pre-build | The last time every page was built ahead: after a deploy, or after Purge and rebuild everything. |
| Last hourly check | Which sixth of the pages the last check looked at, and what it found. |
| Next Daily Purge | When the next 04:00 purge runs. |
| The storefront’s host is slow … | The storefront’s host answered slowly, so it rebuilds one page at a time until it speeds up. |
Each rebuild counts its pages three ways:
- checked: found in the cache already, so nothing was rendered;
- rebuilt: empty, so the storefront rendered it again;
- failed: could not be built. Pages that could not be built lists the latest ones, and the hourly check tries them again every ten minutes.
Every time is in your site’s time zone, named on the line (for example Asia/Dhaka, or UTC+6 when the site has only an offset), never your browser’s. When the storefront can’t be reached, the lines show what WordPress last heard, and when.
The backend has no working clock
Section titled “The backend has no working clock”When WordPress’s scheduled jobs run more than half an hour late, this warning shows at the top of the status line and on every wp-admin page:
The backend has no working clock. Scheduled jobs are running late: …
It means no cron job is running WordPress’s due events, so nothing scheduled runs on time: storefront updates, the 04:00 rebuild, sale starts and ends, and backups all wait for someone to open wp-admin. Set up the one-minute cron job. The warning goes away by itself once the overdue jobs have run.
WordPress also keeps WooCommerce’s daily sale job at midnight in your site’s time zone, before the 04:00 rebuild. If it has drifted (a backend without a cron runs it late, and WooCommerce then keeps the late time), it is booked again for midnight on the next wp-admin visit, or at the next Daily Purge.
Purge and rebuild everything
Section titled “Purge and rebuild everything”Every change is sent automatically, so you rarely need this. Use it when the storefront looks out of date after a long storefront outage, or after a change made straight in the database.
-
Open StoreFront › Settings › Caching.
-
In Purge and rebuild everything, click the button and confirm.
-
Watch the status line: the storefront empties its cache and builds every page again. That takes some minutes. Until it reaches a page, that page’s first visitor waits for it to render.
To refresh only some of the home page, tick the sections in Homepage cache and click Purge selected sections. They are rebuilt within about a minute.
Download the pre-build log
Section titled “Download the pre-build log”Download pre-build log saves a text file for a developer: which of the pages the storefront keeps ready are cached and which are empty, and what happened, newest last. It is written in your site’s time zone and covers the current build only.
| Part | What it shows |
|---|---|
| The top | The build, when the file was made, the last full pre-build and the last hourly check. |
| The table | Per kind of page (Home, category index, content pages, blog, brand directory, product pages, listing first pages): how many there are, how many are cached and empty, and when the cached copies were built. |
| Cold now | Each empty page, since when, and why: a change emptied it and the rebuild hasn’t reached it yet, or its build failed. |
| Events | Every signal received (what it named, what it purged, how many pages it queued), every rebuild with its duration, every failure with its reason, and each rebuild’s end with its counts. Pages found cached are counted, not listed. The newest 5,000 events are kept. |
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | What to do |
|---|---|---|
| A saved change hasn’t appeared after a couple of minutes | WordPress’s background jobs aren’t running | Look for the “no working clock” warning, and set up the cron job. |
| The status line says the storefront could not be reached | The Storefront URL is wrong, the storefront is down, or the two secrets differ | Check the URL and the Cache purge secret against the storefront’s REVALIDATE_SECRET. |
Pages that could not be built lists a self-check: line, and the rebuild stays at 0 pages |
The storefront builds at an address another deployment answers, so it builds nothing | Tell whoever deploys the storefront: its deploy command or its self-reference names the wrong Worker. Their checks are under Troubleshooting. |
| The tab says to save a Storefront URL and a cache purge secret first | One of them is missing | Save both on the General tab. |
| Every night, a little after midnight, most products and their listings are rebuilt though nothing changed | WooCommerce 10.5 to 11.1 re-save every scheduled sale that has already ended, twice, on each daily sale sweep (woocommerce/woocommerce#66720); each save is a change to the storefront | Update WooCommerce to 11.2.0 or newer, which fixes the sweep. Then clear the sale price and dates on products whose sale has already ended, once; the Companion plugin’s decision record 0014 has the snippet. |