3 ms·
Ask HN: Why saving webpages on hard disk has not got better?
I use Firefox and every time I try to save a webpage, the first try fails! The second one works, but then the saved file does not look like the one you'd see online. There are workarounds such as *.mhtml extensions, but I wonder why browsers have not got better at saving webpages locally.
I've used Chrome too, same problem.
- ggm 6y agoThe odd thing is, either in shmem/mmap, or on disk cache, is most of the fetched state. A simple "tee" of the data out of QUIC would replay the load of the disparate mark-up elements. It's all there. The problem is deciding how to add code to save it in a rational reloadable manner. Compared to eg ZFS snapshot: low cost copy on write, saved state. (Admittedly of data on disk, which is the goal here, but then the browser cache is on disk)
- toomuchtodo 6y agohttps://warcreate.com/ https://warcreate.com/ https://github.com/webrecorder/replayweb.page https://github.com/webrecorder/replayweb.page
- ggm 6y agoThanks! I love proof by example.
- toomuchtodo 6y agoI hope you find it helpful!
- asaddhamani 6y agoUse SingleFile. It inlines any CSS and images and your saved page will look pretty close to the actual page.
- S4M 6y agoI use wget (on the command line) to save a webpage. It has an option to save recursively all the links on the page as well, or only the links from a certain domain.
- namaljayathunga 6y agoI use this to backup pages automatically https://github.com/i5ik/22120 https://github.com/i5ik/22120
- GekkePrutser 6y agoThanks, I regularly come across cases where I read something interesting but forget to bookmark it. This could really help! I'll definitely try it.
- behnamoh 6y agoUnfortunately it only works for Chrome-based browsers.
- account-5 6y agoI tend to use singlefile extension. I am looking for something that saves just the JSON responses from a website. I can see the JSON in devtools network tab but can't extract it. I'm not a webdev so it may be easy I just don't know how it's done.
- spsphulse 6y agoI'm happy user of Chrome extension called savePageWe
- Nikhiil_Rajesh 6y agoTry using the [Singlefile](https://chrome.google.com/webstore/detail/singlefile/mpiodijhokgodhhofbcjdecpffjipkle?hl=en https://chrome.google.com/webstore/detail/singlefile/mpiodij...) browser extension. This is what I typically use and works very well.