On this page
- Why searching ERR_CACHE_MISS rarely brings up WordPress
- Why Chrome shows this error
- Why WordPress 6.3 and 6.8 made it show up more often
- WooCommerce add-to-cart, then Back
- Form plugins falling back to full-page POST
- Search and booking plugins using POST
- Custom forms: post to admin-post.php
- Checking response headers and redirects
- Don’t just strip no-store
- Don’t count on Chrome’s bfcache
- Why caching plugins, clearing cache, and flushing DNS don’t work
- FAQ
- Visitors keep seeing this prompt. Is my site broken?
- Why do I hit it constantly while customers barely mention it?
- It started after updating to WordPress 6.8. Should I roll back?
- If someone clicks “Continue” to resubmit, will it place a duplicate order?
- Our WordPress site shows ERR_CACHE_MISS inside a mobile app. Same issue?
- References
A customer sends over a screenshot. Chrome says “Confirm Form Resubmission,” with ERR_CACHE_MISS in small text underneath. All they did was hit the Back button. You search the error name, and the top results tell you to clear browser cache, flush DNS, and disable extensions. You try all of them. Nothing changes.
Those posts are written for end users, not site owners. On a WordPress site, Chrome throws ERR_CACHE_MISS when someone hits Back to a page that was returned directly by a POST request. Find the form behind that page, switch it to redirect after submit (PRG) or use AJAX, and the error goes away.
Why searching ERR_CACHE_MISS rarely brings up WordPress
I checked Google’s autocomplete endpoint for err_cache_miss wordpress, err_cache_miss woocommerce, confirm form resubmission wordpress, and confirm form resubmission woocommerce. Zero suggestions. Drop “WordPress,” and suggestions show up right away: err_cache_miss fix, err_cache_miss php, post err_cache_miss, and confirm form resubmission err_cache_miss chrome.
So when site owners search the error, they search the bare error name and land on browser-cleanup guides. Usually it is one of two people searching: a store owner who just got a customer complaint and wants to know if checkout is broken, or a developer testing their own site who keeps hitting the prompt and wants to track down which plugin or line of code caused it.
Someone on the WordPress.org forums asked how to stop “Confirm Form Resubmission” on refresh, and got told it’s typical browser behavior with no easy fix. I agree with the first half, not the second. For most of the WordPress cases below, flipping one setting or changing one template fixes it for good.
Why Chrome shows this error
In Chromium’s error table (net_error_list.h), ERR_CACHE_MISS is -400, which literally means the cache didn’t have the entry Chrome asked for. Chrome only returns it when loading with a cache-only flag like ONLY_FROM_CACHE (load_flags_list.h).
Going Back to a POST response hits that exact path. Chrome won’t silently resend a POST because it might place a second order or charge a card twice. It looks in local cache instead, finds nothing, and fails. The error page code (localized_error.cc) has a dedicated check: if the request method is POST and the error is ERR_CACHE_MISS, show “Confirm Form Resubmission.”
That makes debugging much simpler. Ask one question first: was the page you went Back to generated straight from a form submission? Regular posts, category archives, and native WordPress search (?s=...) are all GET requests. Even if their headers forbid caching completely, pressing Back just fetches them again over GET with no error.
Why WordPress 6.3 and 6.8 made it show up more often
WordPress builds its no-cache headers in wp_get_nocache_headers() and sends them through nocache_headers(). Today it sends:
Cache-Control: no-cache, must-revalidate, max-age=0, no-store, private
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Both no-store and private went in across two releases.
The first was WordPress 6.3. Trac #21938 reported that a user could log out, hit Back, and still see wp-admin screens. The fix added no-store and private for logged-in users. The ticket’s test output shows that before the patch, logged-in front-end and admin pages only returned no-cache, must-revalidate, max-age=0; afterward they got no-store, private. Logged-out visitors on normal front-end pages still didn’t get a Cache-Control header from core. WP::send_headers() only calls wp_get_nocache_headers() for logged-in users, 404s, and password-protected posts.
The second was WordPress 6.8. Trac #61942 landed in January 2025 so every call to nocache_headers() includes no-store and private, logged in or not. CDNs like Cloudflare could otherwise cache responses that only sent no-cache, risking cart or checkout pages being served to another visitor.
Both changes had real security reasons behind them, yet they made the Back button much less forgiving. One caveat: this next part is deduced from how Chrome caches history, not from benchmarking old WordPress versions side by side. During Back navigation, Chrome prefers serving from cache without revalidating, so a POST page with only no-cache still had a shot at loading from cache. With no-store, Chrome never writes the response to cache at all, so hitting Back fails every time. A WooCommerce store owner posted about this same error on Reddit in 2020, well before no-store existed. The underlying issue was always there; no-store just turned it from sporadic to guaranteed.
Watch out for an easy testing mistake here. Since 6.3, browsing your site while logged in puts no-store on every single page, while anonymous shoppers get different headers. Something you reproduce while logged in might never happen to guests, and vice versa. Always retest in an Incognito window as a logged-out visitor.
WooCommerce add-to-cart, then Back
This is the case I see most often. The Reddit store owner laid out the exact flow: a shopper clicks “Add to cart” on a single product page, the page reloads with “Added to cart” and a “View cart” button, they click “View cart,” then hit Back and get “Confirm Form Resubmission.”
The add-to-cart button on a single product page sits inside a method="post" form that submits back to the product URL. Under WooCommerce’s default settings, the shopper stays on the product page after adding the item. That leaves a POST response sitting in browser history.
That store owner went to WooCommerce → Settings → Products, checked “Redirect to the cart page after successful addition,” and the error disappeared. With that box checked, WooCommerce processes the POST and returns a redirect so the browser opens the cart with GET. No POST page stays in history. That pattern is PRG (Post/Redirect/Get). If you want shoppers to stay on the product page and keep browsing, switch single-product add-to-cart to AJAX instead (many themes and block product templates already do this). An AJAX call doesn’t replace the page, so Back stays clean.
WooCommerce 10.1 also changed headers on the Cart, Checkout, and My Account pages. PR #58445 (merged July 2025) changed guest headers on those three pages from no-transform, no-cache, no-store, must-revalidate to private, no-cache, must-revalidate, max-age=0, while logged-in users still get no-store from WordPress core. DONOTCACHEPAGE stayed in place, so WP Rocket and WP Super Cache still skip those pages, and cart-fragments.js updates the mini-cart count when a page comes back from bfcache. That change is about making Back faster, not fixing add-to-cart ERR_CACHE_MISS. Cart was already a GET page; the culprit is the POST product page right before it, so you still need the redirect option or AJAX.
Form plugins falling back to full-page POST
Contact and registration forms trigger this too. Most form plugins submit over AJAX so the page never reloads and history never records a POST. When you see ERR_CACHE_MISS after submitting a form, AJAX usually isn’t running.
Check the plugin settings first:
- WPForms: Look under WPForms → Settings → General → Advanced → Enable AJAX form submission (docs). Turn it off and WPForms falls back to a full-page
POST. - Gravity Forms: Add
ajax="true"to the shortcode or toggle AJAX in the block settings; otherwise it posts the whole page (GravityKit guide). - Contact Form 7: Uses AJAX by default (5.4.2 release notes) and only falls back when JS or the REST API fails. It is easy to spot: if the URL ends with something like
#wpcf7-f123-o1after submit, it fell back (CF7 FAQ). Most of the time a security plugin or snippet disabled the REST API (REST API FAQ). The other common culprit is an optimization plugin deferring or combining CF7’s script so the handler never attaches.
When debugging a form, I watch the address bar first, then open DevTools Network to see whether clicking submit sends an XHR/fetch call or a full Document POST. If your site actually needs full-page submits (say, for visitors with JavaScript off), set the confirmation action to redirect to a separate thank-you page. Both WPForms and Gravity Forms support redirecting to a page or URL, and once the browser loads the thank-you page over GET, hitting Back won’t prompt again.
Search and booking plugins using POST
WordPress’s built-in search uses ?s=query over GET, which works fine with Back. Plenty of third-party search boxes, catalog filters, and booking plugins use POST instead, and Back breaks right away.
There is a good example on the VikBooking support forum. A visitor enters dates and guests in the search widget, opens the room list, clicks into a room, hits Back, and sees ERR_CACHE_MISS. The plugin author confirmed those steps use POST and told the user to open the plugin’s Template Overrides Manager and switch method="post" to method="get" in /vikbooking, /search, /showprc, and /horizontalsearch, keeping POST only on final booking confirmation.
The same rule applies to any plugin. Checking room availability, filtering products, or searching courses doesn’t change any data on the server, so it belongs on GET. Putting query parameters in the URL also lets visitors bookmark, share, and hit Back without errors. Checkout, payments, and personal info forms change state or carry sensitive fields, so keep those on POST and redirect right after. Always make template edits through the plugin’s override system or a child theme, never by editing plugin files directly.
Custom forms: post to admin-post.php
Core WordPress forms already follow PRG. Comments post to wp-comments-post.php, save, call wp_safe_redirect() back to the comment anchor, and exit. Settings screens post to options.php and redirect with settings-updated=true. The classic editor redirects after saving a post too.
Custom code is where this breaks. A classic pattern is an admin page form with an empty action that submits to itself, saves the option in the same request, and echoes “Saved.” That leaves a POST response in history, and because you’re logged in, it carries no-store. Hitting Back fails almost every time.
Point the form at admin-post.php, handle it on admin_post_{action}, and redirect back with 303:
<?php
// Form markup (admin screen or front-end template)
?>
<form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>">
<input type="hidden" name="action" value="myplugin_save">
<?php wp_nonce_field( 'myplugin_save' ); ?>
<input type="text" name="title">
<button type="submit">Save</button>
</form>
<?php
// Handler (main plugin file or functions.php)
add_action( 'admin_post_myplugin_save', 'myplugin_handle_save' );
// Also hook admin_post_nopriv_myplugin_save if logged-out visitors can submit
function myplugin_handle_save() {
if ( ! current_user_can( 'manage_options' ) ) {
wp_die( 'Permission denied' );
}
check_admin_referer( 'myplugin_save' );
$title = isset( $_POST['title'] )
? sanitize_text_field( wp_unslash( $_POST['title'] ) )
: '';
update_option( 'myplugin_title', $title );
$back = wp_get_referer() ? wp_get_referer() : admin_url();
wp_safe_redirect( add_query_arg( 'updated', '1', $back ), 303 );
exit;
}
wp_safe_redirect() defaults to 302. I prefer passing 303 because it explicitly tells the browser to fetch the new URL with GET. Don’t forget exit, or WordPress will keep running and may print extra output. Capability and nonce checks have nothing to do with ERR_CACHE_MISS, but don’t skip them either. On the destination page, check $_GET['updated'] === '1' to show your “Saved” notice.
One minor note: a failed login on wp-login.php is also a POST result page, so clicking another link from there and pressing Back triggers the same prompt. That’s standard core behavior and not worth fighting.
Checking response headers and redirects
DevTools is the quickest way to verify what’s happening (Elementor’s guide walks through this too). Open Network, check Preserve log, repeat the flow, and click the POST request to look at its Method, Status, and Cache-Control response header. Once fixed, you should see POST return 302 or 303 followed immediately by a GET returning 200 (or an XHR/fetch call with no full-page reload).
From a terminal, curl makes it easy to compare guest and logged-in headers (HostTracker’s guide uses the same check):
# What a logged-out guest receives
curl -sI https://example.com/cart/ | grep -i -E 'cache-control|expires'
# Compare against a logged-in session with your wordpress_logged_in_* cookie
curl -sI -b 'wordpress_logged_in_xxx=...' https://example.com/cart/ | grep -i -E 'cache-control|expires'
Put the two outputs side by side and the extra no-store on the logged-in request jumps right out. If you don’t have a terminal handy, you can drop the URL into our HTTP Headers Checker to inspect guest Cache-Control headers, or run it through the Redirect Checker to trace the redirect chain.
Don’t just strip no-store
Because no-store makes the prompt show up reliably, it’s tempting to strip it with the nocache_headers filter (wp_get_nocache_headers() docs). I wouldn’t fix it that way. Removing no-store leaves the POST page in history, so it only lowers the odds of seeing the error. Worse, core added no-store so logged-out users couldn’t hit Back and view wp-admin (Trac #21938). Stripping it for logged-in users brings that security hole right back.
If you really must change the header, only touch logged-out visitors and keep private so CDNs don’t cache dynamic pages:
add_filter( 'nocache_headers', function ( $headers ) {
if ( is_user_logged_in() ) {
return $headers; // Keep core no-store for logged-in users
}
$headers['Cache-Control'] = 'no-cache, must-revalidate, max-age=0, private';
return $headers;
} );
Core maintainers are working on a better fix for the broader cache problem too. Trac #63636 proposes dropping no-store, keeping private, and using a session-token cookie with pageshow to invalidate pages after logout. The ticket is accepted, though it was pushed from 6.9 to Future Release. Ideally WordPress would send Clear-Site-Data: "cache" on logout, but a Chromium bug slows down responses carrying that header, so it’s off the table for now.
Weston Ruter, who opened the ticket, released that approach as the Instant Back/Forward plugin (formerly No-cache BFCache). In his post, he cites HTTP Archive numbers showing 84% of WordPress origins can use bfcache on public pages (almost none when logged in), and web.dev data showing 1 in 10 desktop navigations and 1 in 5 mobile navigations are back or forward. Jetpack 14.9 also dropped no-store on several admin pages. Membership and course sites with lots of logged-in traffic can give that plugin a look, since it handles post-logout invalidation more safely than a hand-rolled filter. Just keep in mind it speeds up Back/Forward; it doesn’t fix POST result pages.
Don’t count on Chrome’s bfcache
In March and April 2025, Chrome rolled out bfcache support for Cache-Control: no-store pages (Chrome for Developers). The limits are tight enough that it won’t save you. Pages stay in bfcache for at most 3 minutes, and any cookie change evicts them right away. WordPress auth cookies and WooCommerce cart cookies change all the time; adding an item to the cart updates WooCommerce’s cookie on the spot. Trac #63636 also points out that no-store on admin-ajax.php and REST API responses inside admin pages frequently keeps the whole page out of bfcache. If you want Back to work every time, stick with PRG or AJAX.
Why caching plugins, clearing cache, and flushing DNS don’t work
WP Rocket, LiteSpeed Cache, and W3 Total Cache can’t touch this error. Page caches only store anonymous GET responses; POST requests pass straight through, and cart/checkout pages are excluded by DONOTCACHEPAGE anyway. ERR_CACHE_MISS happens inside the browser’s own cache, not your server cache.
Clearing browser cache, flushing DNS, and turning off extensions won’t fix it either. Widely shared guides like Kinsta’s list flushing DNS as a fix, even though DNS has zero connection to whether Chrome cached a POST response. One server-side gotcha to check if normal logged-out pages unexpectedly send no-store: old plugins calling PHP’s native session_start() on init. PHP’s default session_cache_limiter (nocache) injects no-store onto every response.
FAQ
Visitors keep seeing this prompt. Is my site broken?
No. Chrome is blocking an accidental resubmission, and your data is fine. Tell visitors to click Cancel or use the menu, then track down the POST form using the sections above and switch it to a redirect or AJAX.
Why do I hit it constantly while customers barely mention it?
You’re probably testing while logged in. Since WordPress 6.3, every page you view while logged in carries no-store, while guest front-end pages usually don’t. Try the same steps in an Incognito window.
It started after updating to WordPress 6.8. Should I roll back?
No. The 6.8 change (Trac #61942) only affects responses calling nocache_headers() and prevents CDNs from caching private pages like carts and checkouts. Rolling back is way riskier than this error; fix the POST form instead.
If someone clicks “Continue” to resubmit, will it place a duplicate order?
It might, depending on whether the plugin checks for duplicates. WooCommerce checkout has order-state and nonce guards, while custom forms and smaller plugins often don’t. Don’t tell customers to just hit Continue.
Our WordPress site shows ERR_CACHE_MISS inside a mobile app. Same issue?
Not always. In an Android WebView, missing the android.permission.INTERNET permission or setting the cache mode to LOAD_CACHE_ONLY throws ERR_CACHE_MISS too. Test the same flow in mobile Chrome first: if Chrome works and only the app fails, have your mobile dev check the WebView setup.
References
- Chromium
net_error_list.h— Network error code definitions (ERR_CACHE_MISS = -400) - Chromium
load_flags_list.h— Load flag definitions (ONLY_FROM_CACHE) - Chromium
localized_error.cc— Error page logic forPOST+ERR_CACHE_MISS - WordPress Developer Reference —
wp_get_nocache_headers() - WordPress Developer Reference —
WP::send_headers() - WordPress Trac #21938 — Add
no-storetoCache-Controlheader - WordPress Trac #61942 — Always include
no-storeandprivatein nocache headers - WordPress Trac #63636 — Enable instant page navigations from browser history via bfcache
- Weston Ruter — Instant Back/Forward Navigations in WordPress
- WordPress.org Plugin — Instant Back/Forward (formerly No-cache BFCache)
- WooCommerce PR #58445 — Remove
no-storefrom Cart, Checkout, and My Account - Reddit r/woocommerce — Confirm Form Resubmission when clicking back
- WooCommerce Docs — Quick Guide to WooCommerce Add to Cart URLs
- WordPress.org Support Forum — VikBooking
ERR_CACHE_MISSwhen navigating back - WordPress.org Support Forum — Confirm form resubmission on refresh error
- WPForms Docs — How to Enable AJAX Form Submissions
- GravityKit — Gravity Forms AJAX Submission Guide
- Contact Form 7 5.4.2 Release Notes
- Contact Form 7 FAQ — After submission, URL appends
#wpcf7-f123-o1 - Contact Form 7 FAQ — REST API is deactivated on my site
- WordPress Source —
wp-comments-post.php - Chrome for Developers — Enabling bfcache for
Cache-Control: no-store - PHP Manual —
session_cache_limiter - Kinsta — How to Fix
ERR_CACHE_MISSin Chrome - Elementor — How to Fix the
ERR_CACHE_MISSError in Google Chrome - HostTracker —
ERR_CACHE_MISS: what it means and how to fix it