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.
Questions tagged [compression]
418 questions
3
votes
4 answers
Are there performance impacts to using gzip for web services?
I have a very typical scenario:
browser -> web server -> web service
I've seen lots of articles/documentation about the benefit of compressing the data sent from the web server to the browser to save bandwidth, but I'm wondering if there are similar…

sernaferna
- 131
- 1
- 3
3
votes
3 answers
Incremental backup of site
I want to make periodical archive of my site.
I have lftp script to download site content via ftp to today (date +%Y%m%d) directory.
What is best way to make an incremental compressed backup without many duplicates?

vlad
- 846
- 2
- 6
- 14
3
votes
2 answers
How do I persuade IIS to deliver content from within a Zip file?
Is it possible to "persuade" IIS to deliver content from a Zip file "Container" ? For example I have lots of PDF documents packed in Zip archives and I need to display the PDFs in a browser. So for example if the Zip file is named "Container.zip"…

Peter Sawatzki
- 79
- 1
- 6
3
votes
2 answers
Is ZIP archive capable of storing permissions?
I am using Maven Assembly plugin to bundle my application along with configuration/settings files. It allows to specify persmissions to be stored along with files, which is quite convenient.
Still I never found a confirmation, that ZIP archive is…

user1065145
- 295
- 4
- 9
3
votes
2 answers
get error "incorrect command line" when trying to extract 7zip archive on linux
I copied a large zip file to a Linux server, I didn't realise at the time that it was a 7zip file.
After some messing around I installed 7zip with "yum install p7zip" however when I try to extract the archive with
7za -x ./myarchive.zip
I get the…

Jeremy French
- 675
- 3
- 12
- 25
3
votes
0 answers
application/json content doesn't get gzip'ed with IIS
We have some rather lengthy AJAX calls in our app, some of which transmit over 100k of data across a rather slow encrypted network. I'd like to enable G-Zip compression on application/json to speed this up a bit. However, I'm having a tough time! …

Mike Christensen
- 965
- 1
- 11
- 21
3
votes
3 answers
Nginx: Disable gzip-compression for https only
Because of the BREACH vulnerability I'd like to disable gzip compression for TLS traffic, but not for regular HTTP traffic.
I could split up every Nginx server section into two separate TLS- and non-TLS sections and configure gzip there, but with a…

Danilo Bargen
- 263
- 1
- 3
- 9
3
votes
2 answers
Should I compress resources with a loadbalancer (Nginx) or with a web server (IIS7)?
I have the following setup:
Nginx (1.1.19) on the front as a reverse proxy / loadbalancer
IIS7 at the back as web servers
MySQL as a database
I am trying to figure out whether to compress static resources like JS, CSS etc. and generated HTML with…

Pirkka Rannikko
- 31
- 3
3
votes
1 answer
Linux zip tool that supports mutithreading
The only one I know is 7za but it shows speed similar to zip.
I made a quick test for zip, 7za (with -mmt8) and jar. Results are almost same, and 7za is lowest one (what is strange 'cos it should run in 8 threads)
Is there any multithread…

glebreutov
- 131
- 1
3
votes
1 answer
Disable compression on SSL/TLS connections in Apache < 2.2.16 using mod_header
Because of CRIME, as I understand, compression on SSL connections have to be turned off. In newer versions of apache this can be done with a newly introduced directive SSLCompression off, in older versions this is not possible (in Debian before…

Adrian Zaugg
- 31
- 1
- 2
3
votes
1 answer
How can i handle huge log files?
I am running SSD servers because I have great experiences with performance.
However I have webservers which serve lots of requests and the uncompresssed logfiles of one day tend to grow out the database.
I have usual standard format Webserver log…

The Shurrican
- 2,240
- 7
- 39
- 60
3
votes
1 answer
How to disable Apache http compression (mod_deflate) when SSL stream is compressed
I found that Goggle Chrome supports ssl compression and Firefox should support it soon.
I'm trying to configure Apache to to disable http compression if the ssl compression is used to prevent CPU overhead with the configuration option:
SetEnvIf…

Mohammad Alhashash
- 202
- 2
- 9
3
votes
1 answer
Can the encryption option with zip on Linux when used from the command line?
Can the encryption option on Info-ZIP be used from the command line? The zip man page says:
-e
--encrypt Encrypt the contents of the zip archive using a password which is entered on the terminal in response to a prompt (this will
not be echoed;…

Stuart Woodward
- 1,343
- 4
- 14
- 29
3
votes
0 answers
IIS 7.5 no static or dynamic compression
I can't get static or dynamic compression to work on a new server for .ASP, .JS or .CSS files.
I'm running Windows Server 2008 R2 Standard 64 bit. Under IIS Role Services, I have ASP installed, as well as static and dynamic compression. I'm using…

Humtron
- 31
- 1
3
votes
2 answers
Trying to unzip a file with Powershell
I'm trying to unzip a bunch of archives including the new xlsx files into a TMP folder and then work on that folder and then remove it. And shit just doesnt want to go my way.
$spath =…

Elvar
- 325
- 2
- 7