The Back/Forward Cache (bfcache) is a browser optimization that stores a complete snapshot of a page in memory when the user navigates away. When the user presses the Back or Forward button, the page is instantly restored from cache instead of being reloaded.
This counter and timer demonstrate bfcache. Navigate away and come back — if bfcache works, the counter value and timer will be preserved!
Counter: 0
Time on page: 0 seconds
F12)