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
2 answers
Folder permissions when zip and unzip on Windows
I've a webserver Windows 2003. When I do a backup in a zip of some folders, the permissions of the folder doesnt restore when i unzip the compress file. How can I do a zip saving the original permissions or how can i do a backup with all permissions…

Leandro Bardelli
- 213
- 4
- 15
3
votes
2 answers
HTTP gzip compression not working for css or javascript in tomcat 6
Connector settings:
This seems to work for html, but not for css or javascript.…

Draemon
- 527
- 1
- 5
- 15
3
votes
1 answer
Content Encoding Error when loading an URL in browser
One particular page on our site - http://www.newint.org/issues/1979/10/01/ - gives a Content Encoding Error when loaded in a browser. In Firefox, it says:
"Content Encoding Error
The page you are trying to view cannot be shown because it uses an…

tog22
- 151
- 1
- 7
3
votes
2 answers
Erratic gzip compression on IIS7.5
This is best demonstrated when we just try to request a single CSS file from our IIS server. Sometimes we get the whole uncompressed file back. We'll wait 5 seconds and refresh, then the CSS file is gzipped, 1/5 the original size (which is what we…

realworldcoder
- 281
- 1
- 3
- 15
3
votes
3 answers
How to write to a tape using hardware compression on Linux?
I have an LTO-4 tape connected to a Linux host and Linux creates all the usual devices for this tape as follows:
/dev/nst0
/dev/nst0a
/dev/nst0l
/dev/nst0m
/dev/st0
/dev/st0a
/dev/st0l
/dev/st0m
I normally use /dev/st0 and /dev/nst0 devices for…

dtoubelis
- 4,677
- 1
- 29
- 32
3
votes
4 answers
Getting HTTP Compression (GZip) to work with URL Routing on IIS 6
I haven't seen any questions specifically addressing this specific issue.
When URL Routing is used, The Request goes into IIS and then is routed to the Aspx Page. For example, a site: www.site.com/products may route the request to…

Armstrongest
- 189
- 1
- 4
- 9
3
votes
5 answers
Is there any value in checking MD5 of files after they have been unzipped?
A project I am working on currently requires that the user runs an MD5 hash checking tool on the entire project, after it has been unzipped. They do not currently request that the ZIP itself is checked.
If they were to switch to checking the MD5 of…

Craig Mason
- 133
- 1
- 6
3
votes
2 answers
7z all files in directory, remove originals
I have some directories (linux machine) full of highly compressible *.foo files.
Right now I just have a script that does gzip *.foo and it gzips each file into its own .gz file, and removes the original. 7z will compress these files to half the…

LVLAaron
- 436
- 6
- 13
3
votes
2 answers
Performance effects of compressing Program Files on Windows / NTFS
What are the performance effects of compressing Program Files on Windows NTFS?
On a fast, multicore machine, the overhead of decompression is minimal. Machines are generally disk bound, and if you can reduce the disk load by compression, you often…

SRobertJames
- 261
- 1
- 6
- 10
3
votes
4 answers
Is it a Bad Idea to Use Compressed Folders for Log File Archiving?
We have a custom Windows Service in our production environment that for auditing and diagnostic reasons generates log files in the file system. The log files are quite verbose (by necessity) and produce about 100 Mb of output daily. The log contents…

LBushkin
- 183
- 2
- 7
3
votes
1 answer
IIS7 Compression CSS files only compressed when dynamic compression is enabled
If anyone can help it would be appreciated. I would like to enable compression for static files within IIS7 (for the sake of simplicity I'll just refer to static css files for the time being).
The problem I'm getting is that css files are only…

Paul
- 31
- 1
- 2
3
votes
4 answers
.docx owa downloading as a zip?
have an issue that for .docx files in owa are downloading as a zip file...
anyone help?
littlegeek
3
votes
1 answer
How to compile PHP Version 5.2.13 with zip support on CentOS?
Hi i am having a big problem, i have a vps with centos installed on it.
But i have a script which needs php zip library i checked on php.net it says
"In order to use these functions you must compile PHP with zip support by using the --enable-zip…

Samuel Katz
- 135
- 1
- 8
3
votes
1 answer
Adding Utilities to /bin/bash (chrooted)
I have my hosting users on /bin/bash (chrooted) for SFTP.
How do I add unzip to the list of utilities they can execute?
Running Plesk Panel 9.5.2 on CentOS
user48233
3
votes
1 answer
is mod_deflate 's default configuration ok to use in a production setup?
The official documentation for mod_deflate works, and gives me nice results so far on my serveR. Are there any changes anyone suggests for use on a production machine?
http://httpd.apache.org/docs/2.2/mod/mod_deflate.html#recommended
#…

solsol
- 1,121
- 8
- 21
- 31