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]
416 questions
9
votes
2 answers
How can I enable GZIP compression in Jetty?
I have a Jetty server which does not have compression enabled (I tested this here). How can I enable compression?
![](../../users/profiles/26257.webp)
yazz.com
- 6,743
- 14
- 37
- 38
9
votes
3 answers
Need help with some IIS7 web.config compression settings
I'm trying to configure my IIS7 compression settings in my web.config file. I'm trying to enable HTTP 1.0 requests to be gzip.
MSDN has all the info about it here.
Is it possible to have this config info in my own website's web.config file? Or do i…
![](../../users/profiles/58.webp)
Pure.Krome
- 6,338
- 17
- 72
- 86
9
votes
28 answers
What is the most reliable way to send a zip file via email?
I often have clients email zip files to me only to find out that their corporate firewall has stripped the attached file. What is the most straight-forward way to send a compressed file through email and avoid getting your attachment stripped out…
![](../../users/profiles/1164.webp)
jacobsee
- 539
- 1
- 8
- 15
9
votes
6 answers
Does gunzip work in memory or does it write to disk?
We have our log files gzipped to save space. Normally we keep them compressed and just do
gunzip -c file.gz | grep 'test'
to find important information but we're wondering if it's quicker to keep the files uncompressed and then do the grep.
cat…
![](../../users/profiles/9898.webp)
Ryan Detzel
- 687
- 3
- 7
- 20
9
votes
2 answers
Apache2 and logrotate: delaycompress needed?
I am currently looking at the file size of my Apache logs as they became huge. In my logrotate configuration, I have delaycompress enabled. Does Apache really need this (as the logrotate documentation says that some programs still write in the old…
![](../../users/profiles/39973.webp)
j0nes
- 945
- 10
- 25
8
votes
1 answer
NTFS Compression with Deduplication?
I have installed the Data Deduplication role on Windows Server 2016. Per Microsoft, it's using NTFS compression to help save space:
Data deduplication stores more data in less physical space. It achieves greater storage efficiency than was possible…
![](../../users/profiles/112407.webp)
Andrew Bucklin
- 435
- 1
- 5
- 12
8
votes
3 answers
create zip based on contents of a file list
I created a file with diff files diff-files.txt it has 6000+ file paths in it. Now I want want to create a zip based on those files.
I know I can zip multiple files with:
zip diffedfiles.zip file1 folder1 -r
But that won't work with 6000+ files. Is…
![](../../users/profiles/142161.webp)
janw
- 262
- 1
- 3
- 10
8
votes
4 answers
How do I enable HTTP compression under apache2?
How do I configure Apache2 to support HTTP compression?
![](../../users/profiles/1432.webp)
Sietse
- 497
- 5
- 13
8
votes
7 answers
Which archive/compression format?
Zip, Rar, 7z, Gzip, BZip2, Tar etc. I'm hearing 7z is the flavor of the month, why? Is it best for all situations or are there better choices for specific situations.
Or maybe the actual file archiver ie WinZip, WinRar, 7Zip etc (as opposed the…
![](../../users/profiles/2046.webp)
Ash
- 273
- 4
- 7
8
votes
2 answers
View/Find all compressed files on the server?
I need to find all compressed files/folders regardless of file format on a Windows Server 2003 machine.
Search options do not provide this capability.
Is there a way to list/view all compressed files?
Perhaps, this can be done by PowerShell using…
![](../../users/profiles/93862.webp)
Volodymyr Molodets
- 2,404
- 9
- 35
- 52
8
votes
3 answers
Is it generally better to compress content on the proxy server or the app server?
We're using an F5 for load balancing and SSL proxying. Behind it we're serving up java applications with Tomcat instances. These are fairly small applications - hundreds of concurrent users.
I'd like to compress some of the content, and I'm…
![](../../users/profiles/4123.webp)
Dan
- 620
- 5
- 18
8
votes
3 answers
IIS 7.5 ignoring HttpCompression settings in web.config
I'm trying to enable dynamic compression for the mime type application/json.
In applicationHost.config, I've made the following change:
I also tried…
![](../../users/profiles/56005.webp)
Ben
- 243
- 3
- 9
8
votes
2 answers
SSH compression
I want max compression on my ssh tunnel cos I'm on a dialup line ;)
At the man page can one can read:
CompressionLevel
.....The meaning of the values is the same as in gzip(1). Note that this
option applies to…
user120858
8
votes
4 answers
Join large overlapping files
I am trying to recover a (MySQL) database from a crashed disk. There are a number of recent dumps, which are corrupted bz2 files. Since the database does not change often, the dumps should be nearly identical. bzip2recover recovered about 70-80% of…
![](../../users/profiles/41240.webp)
Tgr
- 306
- 3
- 13
8
votes
5 answers
Does ZFS cache Compressed or Uncompressed data in a ZFS file-system with compression turned on?
ZFS supports file-system compression and it also caches frequently or recently accessed data.
If a system has lots of CPU but the underlying data storage system is slow. It is possible that ZFS would perform better with compression turned on. This…
![](../../users/profiles/58001.webp)
700 Software
- 2,163
- 9
- 47
- 77