2 ms·
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 th
by hoten 5y 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)
- jandrese 5y agoCouldn't the browser just dump the current DOM and JS state onto a disk? Treat it like a computer hibernating.