Questions tagged [compression]

Decrease the size of data, typically to preserve space or reduce network bandwidth required while transmitting files. It can be applied to files, folders, disks, etc.

418 questions
4
votes
1 answer

How to change the HTTP GZIP Compression Level for Dynamic Content in IIS7?

I would like to change the HTTP GZIP compression level in IIS7 from 0 to 4 as mentioned in these…
Techboy
  • 1,550
  • 7
  • 31
  • 49
4
votes
2 answers

Unzip a bunch of zips into their own directories

I have a bunch of zip files I want to unzip in Linux into their own directory. For example: a1.zip a2.zip b1.zip b2.zip would be unzipped into: a1 a2 b1 b2 respectively. Is there any easy way to do this?
Alexander
4
votes
2 answers

Scripting compression (ZIP or TAR) to be done in chunks

I'm trying to find a utility or approach out there that will allow me to compress an entire directory into chunks. I know it's easy to specify, for example, that the archive files created should be exactly X size or smaller, but the archive…
user34316
4
votes
1 answer

Compress old emails with dovecot

How can I configure dovecot to compress/archive old emails (say 6 months old) with the users still being able to read them, to save some precious space on the server?
Tofandel
  • 191
  • 8
4
votes
2 answers

Updating a file in a zip archive from STDIN

I want to update/freshen a file in a zip archive with the contents of stdin. So far I haven't been able to find a way to tell the zip command that the contents of stdin correspond to a particular file. E.g. (the last line is how I'd expect it to…
Bo Jeanes
  • 1,520
  • 2
  • 13
  • 17
3
votes
1 answer

How to install the brotli nginx module properly on debian

I'm trying to setup brotly compression on a nginx/1.10.3 server running on Debian 9.5 Stretch / Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (on a lightsail instance). I used the following commands to try to install it: $ sudo…
Simon
  • 133
  • 1
  • 5
3
votes
1 answer

Does ZFS, using default settings, use more physical space than ext4 for the same amount of data?

I'm currently considering a switch from ext4 to ZFS and am having trouble finding information about whether or not it uses more or less space to store the same amount of data as ext4. My understanding is that it uses checksums for data integrity,…
Curtis
  • 503
  • 2
  • 9
3
votes
2 answers

Compressing data when it is to be written on the disk

I have a server which is used for scientific computation, each user has a virtual machine (Linux or Windows) for their usage. the problem is reports generated by these computations take a huge amount of storage when many users use this server. I…
Yashar
  • 151
  • 4
3
votes
1 answer

How to get compression ratio of OpenVPN

With my botnet I crawled the entire internet but I didn't found anything. I'm running an OpenVPN server on Debian with LZ4-v2 compression enabled and about 5 Clients. Now I wonder where it is possible to catch the actual compression ratio, like…
JuliB
  • 31
  • 4
3
votes
3 answers

Corrupt Zip file when downloaded from Apache with Internet Explorer

I have a zip file being served by Apache with mod_gzip compression turned on. Everything is fine when the file is downloaded with Firefox. When downloaded with IE7 the zip file is corrupt. Any suggestions? Do I need to change the mime type for zip…
ejunker
  • 293
  • 5
  • 11
3
votes
1 answer

Tomcat/https: I can see compression is enabled, but file sizes are the same as without compression

I have enabled compression on Tomcat running on my machine. The https response header is showing compression is enabled, but the same amount of data is being transferred with and without compression turned on. Without compression: Status OK Code …
3
votes
1 answer

GZip compression not working on Tomcat7

I recently tried using gzip compression to improve web UI performance. I configured Tomcat Connector as below. compression="on" compressionMinSize="2048" noCompressionUserAgents="gozilla,…
3
votes
1 answer

Avoid double (de)compression in Subversion with Apache

I have a Subversion 1.8 server configured with Apache 2.2 on windows 2003. The server I have is a little bit old and it has a lot of CPU peaks that I suspect are affecting its performance. This server is entirely dedicated to subversion. While I do…
3
votes
3 answers

Can I enable gzip/deflate in IIS6 without restart?

I have gone through the steps of enabling static compression for my IIS 6.0 site: enable it in IIS Manager enable edit-while-running add the extensions i need to compress directly to the metabase: js, css wait for the metabase.xml to update to the…
user21511
  • 31
  • 4
3
votes
1 answer

xz compression not available - yum error on centos

I want to update my php to new version. Dealing with this source: https://webtatic.com/packages/php56/#comment-139854 And now I can't use yum commands. Anytime when I'm trying install something or update I receive: xz compression not available. PHP…
gicu
  • 35
  • 1
  • 1
  • 6