In-reply-to » If I can get a proper static copy of MDN, I'll make a torrent and share a magnet link here. I know I'm not the only one who wants something like this. I don't think the file sizes will be so bad. My current "build" of the entire site is sitting at 1.36 GiB. (Only a little more than double the size of node_modules!) So, with browser compatibility data and such, I think it'll still be less than 2GiB.

@abucci@anthony.buc.ci I didn’t time all of them, I probably should have, but xz has its own timer. If I remember correctly, it took 7 minutes and 17 seconds on my toaster to compress 1.36 GiB, mostly text, at the highest compression level. I don’t think that’s all that bad.

xz also lets you use multiple threads, which isn’t common on these tools. I didn’t do it for this test because there is an extremely small size penalty for doing so and I wanted to go all-out.

Here’s a good blog post that shows the differences with multi-threading. The size difference is negligible, and that test showed no measurable difference in file size between 2 cores and 32 cores. There are diminishing returns in speed, though.

⤋ Read More