Compressing files

File compression, whether it is just a single file or an archive, is quite vital for updating since it drastically reduces the data transferring time. There really isn't much to compressions when using them (writing and understanding them is a totally different story). Compression algorithms have been so simplified these days that they're often just a matter of passing a path to the file you want to compress and it handles the rest. Just make sure you never compress real-time (only at runtime) unless you absolutely have to, because compression is often very slow, and uses a lot of RAM.

You can find the compressions module here.