Gzip is any of several software applications used for file compression and decompression. The term usually refers to the GNU Project's implementation, "gzip" standing for GNU zip. It is based on the DEFLATE algorithm, which is a combination of Lempel-Ziv (LZ77) and Huffman coding.

learn more… | top users | synonyms

2
votes
0answers
146 views

Cherokee force gzip compression for HTTP/1.0

I am using CloudFront with a Cherokee origin server for static files. Cherokee serves gzipped content for direct browser requests without any problem. But when CloudFront requests content, Cherokee ...
2
votes
2answers
3k views

Can't gzip some JS and CSS files

I am optimizing a magento store, and some JS and CSS (compiled and minified in a MEDIA folder) aren't being served gziped as they should. All pages are gziped (ex. this HTML page) but some content ...
0
votes
2answers
2k views

Linux Find and Zip Files

I'm running into 2 problems when working with my logs and the find command. I am having problems with the mtime option. The 1st command below shows me a few files from March 5th till March 7th, like ...
0
votes
1answer
384 views

gzip_http_version set to 1.0 but sends 1.1

I am trying to set Amazon CloudFront up with Nginx using W3 Total Cache and WordPress multisite. CloudFront only works with http 1.0 so, I read that you need to change the http version in gzip to 1.0. ...
2
votes
0answers
381 views

large javascript file not being served properly by nginx

I'm having trouble serving a large (376kb) javascript file via nginx over ssl with gzip enabled. The file is served without issue over plain old http. The file in question is ckeditor.js and is ...
0
votes
1answer
196 views

find and delete files of a certain type inside a tar.gz file

Is there a way to not only find but also delete any .gz files inside a .tar.gz file? I found this link but I wouldn't know how to modify it to make it able to delete found files.
0
votes
1answer
49 views

Getting gzip compression to work on my server (modules?)

I have copied the htaccess file from HTML5 Boilerplate into my httpd.conf file and restarted Apache, but for some reason, gzip compression is still not working: I have tested to see if the modules ...
0
votes
1answer
287 views

Gzip encoded content from apache breaks safari

I have a very strange problem with my apache server (v2.2.16 running on debian 6.0.5). I have mod_deflate enabled to serve content gzipped, and in chrome, firefox and ie, it works just fine, no ...
1
vote
1answer
449 views

Varnish 3 performs gunzip even though entire pipeline is gzipped

I'm refactoring my Varnish VCL and can't figure out this one thing. Varnish 3.0 natively supports gzipped content, and it essentially seems to do the right thing. See also: ...
0
votes
2answers
702 views

nginx gzip did not work on php js and css processors

I have a assets manager for process css and js via php. i'm using nginx and php5-fpm for load my application. but returned css and js files not gziped. for example my url is ...
0
votes
1answer
321 views

Nginx check for HttpGzipModule

I have nginx+passenger on my vps but I think I don't have the HttpGzipModule installed, two questions: How to verifiy if it is installed? How to install it, have I to install nginx again? Is there a ...
1
vote
1answer
1k views

Verify if the files can be unzipped successfully from 7Zip archive

We want to 7zip many database files (mysql, Oracle, and SQL Server dumps), various standard files (excel, word, etc), but we are afraid that once we 7Zip them and delete the originals it can happen ...
2
votes
1answer
249 views

How to check if my VPS Apache hosting does GZIP on response?

I have DreamHost VPS hosting, the server is Apache. When I load my web-site in the browser, and inspect the HTTP reqests/responses in my browser's dev tools, I can see that my browser sends ...
2
votes
1answer
372 views

Gzip command to produce exact same output than tar -cvzf?

I did thought the following commands where equivalent, but they produce different checksums: tar -cvzf ... and tar -cvf ...; gzip ... does not produce the same output. sha1sumdiffers. What would be ...
2
votes
1answer
923 views

enabling gzip with htaccess…why is it hit or miss?

I have shared hosting through Justhost. I use the HTML5 Boilerplate .htaccess (have tried other methods from here and there without luck) the compression part is as follows: <IfModule ...
-1
votes
1answer
71 views

Created a gz backup of a server and when I extract it I get a huge blank file

I gzipped a folder in an old server that included all of the sites served. That server does not exist anymore and I needed some info from the backup but when I extract the backup (a 26GB file) I only ...
1
vote
1answer
1k views

Turn off gzip for a location in Nginx

How can gzip be turned off for a particular location and all its sub-directories? My main site is at http://mydomain.com and I want to turn gzip off for both http://mydomain.com/foo and ...
0
votes
1answer
2k views

How to disable gzip compression for particular virtual host apache

Im using Apache and I have enabled zip compression to all my virtual host domain. However, I want to disable the gzip compression on one particular virtual host only. I try this method. All separated ...
0
votes
1answer
261 views

nginx gzip is not working on GET method, but work on POST method

I got a problem on nginx 0.9.6 (centos) about gzip, when i use POST method, the gzip works, but but when i use GET method, it doesnt work. but for static css/js files are gziped for GET method, the ...
2
votes
0answers
328 views

Creating a seperate static content site for IIS7 and MVC

With reference to this serverfault blog post: A Few Speed Improvements where it talks about how static content for stackexchange is served from a separate cookieless domain... How would someone go ...
0
votes
2answers
187 views

gzip specific files

for some reason these files are not gzipping on my apache server, chrome network tab shows this. Is there a specific directive I can add to htaccess to cache these files? Compressing the following ...
2
votes
3answers
1k views

gzip not working for some files using nginx

Some files are not gzipped on their way to the user browser in our setup. for example http://myhostname.com/css/build/20120904-1.css http://myhostname.com/js/dojo/dn/main.js?20120904-1 ...
5
votes
1answer
3k views

How to limit nginx access log file size and compress?

I'm hoping to get some direction on how to set up truncating and gzip'ing on my domains' access logs. I notice that the core nginx access logs get split and compressed by default, yet my individual ...
5
votes
1answer
2k 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" ...
0
votes
1answer
35 views

Determine compression % of gzip file? [closed]

Is there an easy way to determine the compression % of a .gz file?
1
vote
1answer
2k views

Enable gzip on Nginx

Yes, I know that there are a lot of other questions that seem exactly like this out there. I think I must've looked all of them. Twice. In desparation, I'm adding another in case my specific ...
0
votes
1answer
1k 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 ...
0
votes
1answer
50 views

What would be the outcome of tar and untar a constantly changing folder via ssh

I have used this command on a big-sized (TB),constant changing directory with sub-folders and files. $ tar c dir/* |gzip - | ssh user@host 'cd /dir/ && tar xz' What would be the outcome at ...
3
votes
1answer
1k views

Nginx: disable gzip on images

In my nginx conf I have which enabled gzip: gzip on; gzip_proxied any; gzip_types text/plain text/css text/javascript; gzip_comp_level 9; gzip_vary on; However this also gzips my jpeg's which ...
4
votes
1answer
1k views

Apache mod_deflate not compressing javascript and css files?

"GET /Symfony/web/app.php/app/dashboard HTTP/1.1" 4513/37979 (11%) "GET /Symfony/web/css/application.css HTTP/1.1" -/- (-%) "GET /Symfony/web/js/application.js HTTP/1.1" -/- (-%) "GET ...
0
votes
1answer
220 views

How to unpack specific directory from /home backup packed with pigz+tar+gzip

Normally I'm extracting my copies with: pigz -dc backup2_week1_system.tar.gz | tar xzvf - Now I want to unpack specific directory from /home/user for example admin
2
votes
1answer
518 views

Apache serving empty gzip with assets produced by Rails Asset Pipeline

I followed the steps described in the blogpost The Asset Pipeline, from development to production and tweaked them to my environment. The two important files are: ...
3
votes
3answers
1k views

tar gzip slowing down server

I have a backup script that: compress some files generate md5 copy the compressed file to another server. the other server finishes comparing MD5 (to find copy errors). Here it's the core script: ...
-2
votes
1answer
156 views

script for extracting all gzip files in linux

All of my files in my linux server converted to gzip files I need a script for extracting all gzip files (*.gz files)
-1
votes
3answers
2k views

Combine two or more compressed files

I have 2 gz files those I need to merge into one -- that is to say I want to combine two .gz files into one such that when I extract the combined file I get a single file containing the concatenation ...
1
vote
2answers
2k views

gzip “No space left on device”

Using gzip 1.3.12 / ubuntu 64bit I am getting "No space left on device" yet there appears to be plenty of disk space remaining. gunzip 03-05-2012--22-52-01.tar.gz gzip: 03-05-2012--22-52-01.tar: No ...
1
vote
2answers
509 views

gzip compression increases performance, then eventually increases response time from server

Here is my current server scenario. I'm running on a Rackspace Cloud instance (16GB of RAM), using cPanel/WHM on a CentOS 5.5 install. I'm currently running about 10 Magento sites, all varying in ...
0
votes
1answer
800 views

NGINX + GZIP - Altering Vary header to include User-Agent

Currently, when nginx is set to gzip outbound content as requested by the client, the "gzip_vary on" setting will set the following header: Vary: Accept-Encoding We would like to modify this to ...
1
vote
2answers
280 views

I cant get mod_gzip to function properly

The pagespeed tool says Compressing http://72.10.33.203/workspace/js/plugins.min.js could save 95.0KiB (66% reduction). but when I test for GZIP it shows that it works. I have my htaccess and conf ...
4
votes
1answer
3k views

Enabling HTTP Compression in WebSphere Application Server 7

I know the correct way of enabling gzip HTTP Compression for a WebSphere Application Server is to activate and configure the mod_gzip module in the IBM HTTP Server connected/installed in this ...
1
vote
2answers
1k views

nginx configuring uwsgi and gzip buffers for different usage scenarios

I'm trying to configure two URL path groups for relatively different usage scenarios and resource consumption in nginx. Both are served by same uwsgi application. Group 1: Regular HTML pages up to ...
1
vote
2answers
370 views

Apache 2.2 serving .html.gz content

How can I get Apache 2.2 on Centos to serve static .html.gz files from local disk to browsers, without them being prompted to download the file (ie - I want it rendered normally in the browser)?
1
vote
1answer
3k views

how to get nginx to gzip all files and add an expires header

recently got into VPS systems and installing them, and all that blah blah etc etc. So, I have a couple working websites, and on one of them I'm trying to really optimize it for speed. Using Yahoo's ...
0
votes
2answers
754 views

nginx + php-fpm + apc … compression?

I have a VPS running nginx 1.1.19, php-fpm 5.3.10, and APC 3.1.9. The server is primarily running PHP scripts (vB, SMF, IPB) I'm also using Cloudflare as a CDN if that matters. From what I can tell, ...
0
votes
1answer
404 views

Apache LocationMatch throws 500 and AddOutputFilterByType does nothing

I need to add below directives to apache. But I get 500 when I add these lines. <LocationMatch "^/assets/.*$"> Header unset ETag FileETag None # RFC says only cache for 1 year ExpiresActive On ...
0
votes
1answer
384 views

Is html or php header needed for gzip?

I use gzip module of nginx to compress documents. When gzip is enabled nginx will automatically send content-ending of gzip with HTTP headers, right? Without adding any PHP header header() or HTML ...
3
votes
2answers
2k views

Why is IIS7 not compressing my static files?

I am trying to get IIS to compress jquery.js (and all other static files, but using jquery as the example here) on my localhost, but something goes wrong. The funny part is that when I look in my ...
3
votes
2answers
465 views

Gzip mistake with directory

I accidently gzip -rv directory and now all individual files is in .gz format. How do I undo this and gunzip all .gz files within the directory? And how do I just gzip this whole directory? I tried ...
3
votes
2answers
544 views

Using AddEncoding x-gzip .gz without actual files

With Apache (2.2 and later) how can I achieve the following. I want to transparently compress using GZip encoding (not plain Deflate) the output when a certain file is queried with its name plus the ...
1
vote
2answers
288 views

How to zip the standard output of a process?

I have a process that is producing a big amount of log to the standard output in a short period of time. Is there a way to zip the standard output of my process to a file. I am searching for ...