bfcache Checker
Run a real back-forward cache test on this page, read the blocker reasons in plain words, and audit your code for the patterns that kill instant back-button restores.
Live self-test: can this page be restored from bfcache?
Not tested yet
The test navigates forward and immediately back. Your browser either restores this page instantly from the back-forward cache or reloads it.
This test checks this exact page in this exact browser. Results say nothing about other pages or other browsers. Cache-Control headers for this page cannot be read from JavaScript, so header blockers (like no-store) are not part of this test; check them with your server logs or the network panel.
Unload migration auditor
Paste JavaScript below. The auditor scans for the patterns that block bfcache, unload, beforeunload and synchronous XHR, and shows the modern replacement for each. The scan is textual and approximate; it never executes your code.
Why the back button is a performance feature
A page restored from the back-forward cache appears instantly: no network, no parsing, no re-running your JavaScript from scratch. A page that misses bfcache pays the full reload cost instead, and on mobile that can be the difference between a snappy app and an abandoned one.
The unload event is the classic cache-killer. It was designed for a desktop era where every navigation tore the page down. Today it fires unreliably, mobile browsers often skip it, and browsers treat its presence as a promise that the page cannot be safely frozen. Chrome has been switching unload off by default, which is why the auditor above steers every finding toward pagehide and visibilitychange.
One honest limit: no client-side test can see everything. Server headers such as Cache-Control: no-store, and some APIs your page holds open, can block bfcache invisibly from JavaScript. This page tests what it can measure and says so when it cannot.
Frequently Asked Questions
Check Out Other Popular Tools
Lorem Ipsum Generator
A developer tool to generate placeholder text for designs.
Sitemap Checker
Check if any website has a valid XML sitemap. Verify sitemap format, URL count, XML validity, and robots.txt sitemap references.
Online Notepad — Free Notes App, Auto-Save & Text Editor
Free online notepad to write, edit, and auto-save notes in your browser. Fast, private, works offline. Export to TXT, PDF, and Markdown. No login required.
Was this tool helpful?
Comments
Loading comments...