Hacker News new | ask | show | jobs
by capableweb 1954 days ago
The closest you get for how browsers should act regarding history is part of the HTML spec here: https://html.spec.whatwg.org/multipage/history.html

Of course, the exact implementation is not specified, browsers are free to either implement cached behavior, which I think Firefox does as well, or just a naive refresh.

1 comments

I think the closest is the pagehide event

https://html.spec.whatwg.org/multipage/browsing-the-web.html...

Which appears to be supported in Safari, just like all the other browsers.