Or bfcache
Back/forward cache (or bfcache) is a browser optimization that enables instant back and forward navigation. It significantly improves the browsing experience for users—especially those with slower networks or devices.
bfcache is automatic, but you can observe the page transition events with pageshow and pagehide.
To optimise your page for bfcache:
unload eventbeforeunload unless absolutely necessarywindow.opener without rel="noopener"