What is http compression and which module to use for http compression? Compressing data before transmitting to the browsers and then uncompressing the data before displaying. The module that is responsible for http compression is called mod_deflate.The main advantage of mod_deflate is that it saves a lot of bandwidth and loads the pages faster.
Q. How can I compress a whole directory under Linux / UNIX using a shell prompt?
You need to use tar command as follows (syntax of tar command):