Hacker News new | ask | show | jobs
by hoten 1724 days ago
It'd have to be more than just the HTML, it'd need to be everything the page used. Basically, all the data you'd get by clicking the "download HAR" button in the DevTools Network panel. Including some special sauce on top to replay any XHRs (assuming you want to get to the last state by replaying... otherwise the JS page state would need to serialized some how)
1 comments

Couldn't the browser just dump the current DOM and JS state onto a disk? Treat it like a computer hibernating.