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.

learn more… | top users | synonyms

13
votes
8answers
21k views

How to check if Apache compression is working?

I just added the following to my Apache config file: AddOutputFilterByType DEFLATE text/html text/plain text/xml How do I check if it is actually working? Nothing on the browser tells me if the ...
-2
votes
1answer
33 views

What are the downsides of http compression?

I always was aware that http supports gzip compression, but never cared about it. I counted on that the servers and shared hosts I use would have activated it by default (I'm more of a frontend ...
8
votes
2answers
3k views

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 ...
9
votes
6answers
3k views

File size with zfs compression

I usually estimate the size of a whole directory tree using du -ks $DIRECTOY_TREE_ROOT, but this method cannot be used when zfs compression is on. The total displayed by ls -l is ok for a single ...
4
votes
2answers
1k views

Apache/2.2.20 (Ubuntu 11.10) gzip compression won't work on php pages, content is chunked

I'm running into a problem with a new production server whereto I'm transferring projects. The HTML output of the PHP applications isn't compressed by the Apache mod_deflate module. Other resources, ...
0
votes
1answer
1k views

Nginx: Disable gzip-compression for http 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 ...
1
vote
1answer
22 views

How to prevent compression of images served via HTTP

I have an already optimized JPEG image in my server 32.07 kB (and in my local computer), 800px * 534px, if I request it via browser, it keeps the same width * height, but its size gets smaller 17,97 ...
0
votes
0answers
4 views

iis 7.5 doesn't compress javascript

I can't get httpCompression to gzip my .js's This is my web.config <urlCompression doStaticCompression="true" doDynamicCompression="true"/> <serverRuntime enabled="true" ...
0
votes
0answers
21 views

IIS7 httpCompression dynamicTypes not matching the wildcard *(star) in “application/json*”

The Problem: My goal is to enable gzip compression of responses from IIS for the content-type "application/json*", but when the wildcard * is added instead of an exact string match compression ...
0
votes
2answers
43 views

Can't send to compressed (zipped) folder

I'm IT Technician at a Secondary School and our Network Manager is away on long term leave. Currently our student's aren't able to send to - compressed folder. When trying the error 'File not found ...
0
votes
1answer
1k views

Compress and remove logs from jboss on linux with cron

I need to compress and remove log files after some time from serwer. I have never write scripts before. So far i have script logs.sh: #!/bin/bash LOGS=/usr/local/jboss/server/default/log/ ...
1
vote
2answers
19 views

Copying between lzo compressed BtrFS's: de/re-compressing?

I'm copying a large number of files between two lzo compressed BtrFS filesystems on different drives mounted on the same machine. It appears that the files are being de/re-compressed. Is there a way ...
1
vote
2answers
56 views

Lightweight transparent compression filesystem?

I have an AMD64 KVM VPS at RamNode, it has 30 GB disk, 256 MB RAM, and 1 "virtual CPU" (I have no idea of the specs of the host CPU). It will be used to store many small, easily compressed files, ...
1
vote
1answer
1k views

gzip compression using mod_deflate apache with tomcat

I'm trying to enable gzip compression in my Apache server which is fronting a Tomcat instance using a connector. I tried several variants of the module configuration settings in my httpd.conf. Here is ...
2
votes
4answers
5k views

Should I use rsync compression over a gigabit LAN?

I normally use rsync's -z option to enable compression when transferring files over the internet. However, if I am on my own (idle) gigabit LAN, do I still want compression? Or will it be faster ...
2
votes
3answers
2k views

Faster zlib alternatives [closed]

I wonder, if there are any faster builds of zlib around with more advanced optimizations? If it's possible to optimize it using SSE instructions or Intel C++ compiller, or some trick which were ...
1
vote
1answer
62 views

Can't get included CSS and JS files to be compressed

I have enabled compression via .htaccess and in httpd.conf However when I run it through the various online testers, its always saying that various included files are not compressed. Apache version ...
0
votes
2answers
190 views

Unzip from stdin to stdout - funzip, python

The goal is to read a zip file from stdin and uncompress to stdout. Funzip works and is the solution I am looking for, the zip contains a single file, unfortunately funzip fails when the compressed ...
1
vote
0answers
25 views

“optimize” pdf files in linux directory [closed]

Following situation that I could not think of a satisfying solution: Users are uploading pdf documents to a certain directory on my linux host. These documents are sometimes much larger than ...
11
votes
2answers
12k views

Transparent compression filesystem in conjunction with ext4

I am trying to test a project that needs compressed storage with use of the ext4 file system since the application I use relies on ext4 features. Are there any production/stable solutions out there ...
0
votes
0answers
14 views

How to enable static GZip compression for versioned “/style.css?v=1” resourcess in IIS?

Google PageSpeed reports that files like .css and .js are compressed, but .css?v=1 and .js?v=1 are not. How to enable static compression for files that have a dynamically changing version number in ...
0
votes
1answer
40 views

mod_deflate and Pagespeed

I´ve activated mod_deflate on my server. The problem is that Google pagespeed says that my site needs a compression. Have anybody an idea? This code is in the /etc/apache2/apache2.conf. I restartet ...
1
vote
0answers
41 views

Hyper-V avhd files compressed

I have inherited a machine at a client site that the previous IT person thought it would be a bright idea to compress all the AVHD and the base VHD files for one of their servers running under hyper-v ...
3
votes
5answers
2k views

Enable row level compression on all tables and indexes

One of the (optional) requirements for the Works With SQL Server 2008 test is that row level compression is enabled on all tables and indexes. We have an existing database with a lot of tables and ...
5
votes
1answer
527 views

Compression of Tomcat mod_jk results in Apache httpd

I'm developing a web application locally on my system, serving it using Tomcat (tomcat-7.0.52). In production, I want to front the Tomcat with an Apache httpd (Apache/2.2.15). This works and I ...
7
votes
2answers
4k views

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: <section name="httpCompression" ...
8
votes
4answers
4k views

Why is IIS 7 is ignoring certain (but not all) MIME types for compression? Giving error: DYNAMIC_COMPRESSION_NOT_SUCCESS - Reason 12

So, I'm a bit of an IIS7 n00b but I've used most of the old IIS systems going back to 3. I'm trying to turn on dynamic compression and it's working, mostly. It doesn't work for my ADO.Net Data ...
0
votes
4answers
158 views

How to “really” reduce the size of KVM VMs images?

I've spent many hours searching the web about how to shrink KVM virtual disk images, especially for Windows guests, with no luck. All I've found is to zeroize the VM free space, defrag the virtual ...
0
votes
1answer
84 views

How do you create a qcow2 file that is small yet commodious on a Linux server?

I believe that there are qcow2 files that displace a small amount of gigabytes on a server (as verified with a df -h on the physical server) yet allow for lots of space when you log into the ...
96
votes
11answers
103k views

How to zip/unzip files in Powershell?

Is there a one-liner that will zip/unzip files (*.zip) in PowerShell?
3
votes
4answers
17k views

.docx owa downloading as a zip?

have an issue that for .docx files in owa are downloading as a zip file... anyone help?
13
votes
12answers
8k views

Best compression for ZFS send/recv

I'm sending incremental ZFS snapshots over a point-to-point T1 line and we're to a point where a day's worth of snapshots can barely make it over the wire before the next backup starts. Our send/recv ...
0
votes
2answers
220 views

Extracting 200 GB ZIP file [closed]

I have a large 200 GB file to extract. I was using WinRAR on a Windows laptop, and it's a very slow process. I am considering using an Amazon EC2 instance to help speed up the process. How can ...
4
votes
3answers
3k views

Store file in zip archive with different name (linux command shell)

In a linux command line, you zip a file by: zip -mqj archive.zip file.txt Now, I need to store 'file.txt' as 'file2.txt' in 'archive.zip', without renaming the file before zipping. When unzipped, ...
0
votes
0answers
44 views

Debugging Ansible's support for compressed database imports?

The documentation for Ansible's mysql_db module says, "Uncompressed SQL files (.sql) as well as bzip2 (.bz2), gzip (.gz) and xz compressed files are supported." However, when I try to import a .gz ...
1
vote
1answer
4k views

What is the best way to compress backend to nginx reverse proxy data?

We are going to be running a nginx reverse proxy that will pull data from a backend via the internet. What we mean by via the internet is the backend machine will not be on a lan with the front ...
10
votes
3answers
18k views

Content-Length not sent when gzip compression enabled in Apache?

I would really appreciate some help understanding this Apache behaviour. I am communicating to PHP from an iPhone Objective-C app in application/json. Gzip compression is enabled on the server, and ...
1
vote
1answer
179 views

HTTP compression in Apache reverse proxy?

I have an App server where Apache httpd is installed which serves the requests. We have another Proxy machine which redirects the requests to this App Server httpd using proxy pass. When I apply gzip ...
2
votes
2answers
2k views

Powershell Script to Zip Files

I'm new to Powershell. I have a need that I assumed that it would be perfect for. However, I've quickly come to the point where I feel I'm in over my head. Basically, I need to create a .zip file. I ...
2
votes
2answers
864 views

large 20TB+ NTFS volume allocation unit & compression

I am creating backup volume on RAID6 and I want to expand it in the future up to 12 2TB discs. Currently we have 4 discs in RAID5 and 4096 allocation unit + file compression on. Everything is working ...
2
votes
2answers
76 views

Reduce xen image disk usage

Two cases: 1.If making hdd image using dd and copy it trough nfs to another server: mount -o ro,remount / dd if=/dev/sda bs=64K | gzip -c > /share/test.img.gz then after gunzip I get 20Gb (for ...
0
votes
0answers
52 views

Trying to disable Apache compression for an URL, but I can't get it to work

I'm trying to disable Apache compression for certain URLs by adding the lines below to .htaccess. I'm trying to get one URL working, but I can't get it to ignore the URL - Apache still renders those ...
2
votes
1answer
66 views

backup compression ratio in SQL 2012 worse than in SQL 2008

We have SQL 2008 Enterprise with TDE enabled and upgraded to SQL 2012 with TDE still enabled. Everything works fine except that I am getting worse backup compression than in SQL 2008. I do ...
2
votes
0answers
140 views

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, traviata" ...
2
votes
2answers
277 views

backup files with many duplicated files

I frequently need to do a backup of a group of files, with many subfolders which contain several large, identical files. Is there a compression scheme (.zip, .7z, etc) which can automatically detect ...
1
vote
1answer
247 views

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 ...
-1
votes
1answer
64 views

Is there a “smart” file compression utility that can apply different algorithms to different files? [closed]

I've got a Linux server I can only connect to remotely. I want to backup it, but it'll have to be over the Internet, and I've chosen Google Drive to hold the backups. The only piece of puzzle I still ...
0
votes
1answer
583 views

7z “is not supported archive” while updating an archive

7za u -pPasswored -mhe=on -r -m0=lzma -mx=9 -mfb=64 -md=32m '-x!temp' filename.7z /home/software While updating the archive we are getting this error: Error: XXXXXXX.7z is not supported archive ...
0
votes
0answers
292 views

Apache HTTPD - mod_deflate and mod_expires not applied?

I have a site that I am serving up using Apache HTTPD 2.4 on CentOS 6.6. Apache is acting as a reverse proxy to a Wildfly 8.2 server on the same host that is serving up a JavaEE web application. ...
1
vote
2answers
2k views

SugarCRM CE: upgrade from 6.5.9 to 6.5.11 Fails with “ZIP Error(0): Status(0): Arhive(upload://SugarCE-6.5.11.zip)”

I have a fresh running installation of SugarCRM Version 6.5.9 (Build 8653) hosted at Bluehost.com (shared hosting) When I use the upgrade wizard, the system checks are all successful. Then I get the ...