Support storing content as gzipped tarballs
zkat opened this issue · comments
Give users the option of, when they store something, to reduce storage use and potentially speed up cache writes.
I believe if the content directories themselves are written as files, we can just do an fs.stat
to see if it's a directory or file, and assume that files are compressed tarballs.
There should also be an option to compress/decompress individual entries (which can be used elsewhere to compress/decompress the entire cache, as desired).
Done!
Although it involved tearing out all the tarball code entirely.