ERR_CACHE_MISS — how to fix
Confirm Form Resubmission
This webpage requires data that you entered earlier in order to be properly displayed. You can send this data again, but by doing so you will repeat any action this page previously performed.
Press the reload button to resubmit the data needed to load the page.
ERR_CACHE_MISS
Quick fix: As a user, press reload and confirm (or open the URL fresh). As a developer, answer form POSTs with a redirect (303 See Other + Location) to a GET page, so back/refresh never re-posts. In an Android WebView, add <uses-permission android:name="android.permission.INTERNET" /> to AndroidManifest.xml.
What it means
net::ERR_CACHE_MISS means the browser was told to load a page only from its cache and the page wasn't there. Chrome does this when you press Back or Reload on a page that was produced by a POST request: re-fetching it would resubmit the form (possibly charging a card twice), so Chrome shows Confirm Form Resubmission instead.
If you are just browsing
- Press Reload and confirm to send the form data again — only if repeating the action is OK.
- Or click into the address bar and press Enter to load the page with a normal GET.
- If it happens on every site, clear browsing data for the site or try an incognito window; a broken extension can also cause it.
Fix 1 (developers): Post/Redirect/Get
Never render a page directly in response to a form POST. Process the form, then redirect to a GET URL. The browser history then contains only the GET page, so Back and Reload are safe.
Express:
app.post('/orders', async (req, res) => {
const order = await createOrder(req.body);
res.redirect(303, `/orders/${order.id}`);
});
Flask:
@app.post("/contact")
def contact():
save_message(request.form)
return redirect(url_for("thanks"), code=303)
PHP:
<?php
save($_POST);
header('Location: /thanks', true, 303);
exit;
303 See Other explicitly tells the browser to follow with GET. 302 also works in practice for forms, but 303 is the precise status. See the HTTP status codes reference for the differences.
For validation errors, store the errors and input in the session, redirect back to the form (GET) and render them there.
Fix 2: Android WebView shows net::ERR_CACHE_MISS
In a WebView-based app (including Cordova, Capacitor and similar), this error on the first page load usually means the app isn't allowed to use the network. Add to AndroidManifest.xml, outside <application>:
<uses-permission android:name="android.permission.INTERNET" />
Then rebuild and reinstall the app. Also check you didn't set webView.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ONLY), which forces cache-only loads and produces the same error for anything not cached.
Fix 3: DevTools and cache headers
- Pages sent with
Cache-Control: no-storecan never be served from cache, so Back after a POST always triggers this screen — that's another reason PRG is the right fix rather than tweaking headers. - If you only see it while DevTools is open, check that Disable cache and network throttling are set the way you expect.
Fix 4: single-page apps
If an SPA submits a real <form method="post"> and the server responds with HTML, you get the same behaviour. Either submit with fetch() and update the page in JavaScript:
form.addEventListener('submit', async (e) => {
e.preventDefault();
const res = await fetch('/api/contact', { method: 'POST', body: new FormData(form) });
if (res.ok) location.assign('/thanks');
});
or have the endpoint redirect as in Fix 1.
Last updated 2026-12-05.