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

0
votes
2answers
37 views

Turn on Gzip for combined JS or CSS files without file extension

I'm trying to configure GZip on my nginx server. It works for files with an file-extension. To make a decision what kind of file is served over the network, Nginx does not analyze the file ...
4
votes
1answer
2k 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 /Symfony/web/js/...
2
votes
1answer
1k views

Apache deflate ignores javascript

I have set up deflate in my htaccess. Everything works fine, except for some reason javascript files are being ignored. I tried every possible combination of AddOutputFilterByType DEFLATE with ...
2
votes
1answer
620 views

IIS7 is gzipping files but not serving the gzipped version

By following a number of helpful blog posts I have configured IIS to gzip my static files. I have even enabled Failed Request Tracing and filtered to the 200 status code, and I can see the successful ...
1
vote
1answer
104 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 ...
1
vote
1answer
782 views

nginx cache gzip file's to temp directory?

Is the following possible through Nginx: I now have gzip on; but the server needs to compress the popular files everytime, the files are xml files created through a database, but they are "static". ...
1
vote
1answer
469 views

Glassfish - Font file and stylesheets and gzip

We used to use Tomcat but are migrating to Glassfish 4 for our application server. We are trying to enable compression, but for some reason, when we do, woff and ttf files are aborted. No errors, ...
1
vote
1answer
781 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: http://stackoverflow.com/a/...
0
votes
1answer
11 views

how to stop esxtop gracefully which is running in batch mode?

I am running esxtop in batch mode using the below command: esxtop –b –a –d 10 –n 2000| gzip -9c > perfData.csv.gz This is going to run for a little over 5 hrs, but I want to stop it gracefully ...
0
votes
1answer
32 views

Linux CLI Make a Tar.Gz with Tar.Gz First-level Directories

Currently, I use this command to make tar.gz archives: sudo tar -zcpvf archive.tar.gz directory1 directory2 directory3 Is there a way to compress multiple archives like above, but instead of ...
0
votes
1answer
31 views

Is it possible to copress the cached files of nginx fastcgi_cache

Is is possible to compress/gzip the cached files managed via nginx fastcgi_cache? I am thinking of saving two versions of cached files (normal & compressed) and use appropriate key structure to ...
0
votes
1answer
401 views

NGINX gzip_static not working

I have the following conf on nginx: location ~* ^/assets/ { add_header Access-Control-Allow-Headers content-type; add_header Access-Control-Allow-Origin *; add_header Cache-Control "...
0
votes
1answer
328 views

Piping stream into tar on FreeBSD

I am trying to pipe a tar/gzip archive into tar to decompress it. The script I have is part of a self extracting installer, where my archive is appended to the script. This works fine on linux, and ...
0
votes
1answer
356 views

Linux cp with gzip and numbered backup in one step?

I'm wanting to copy a file and gzip it in a single command/step But I want to do numbered backup if the file already exists i.e. "cp --backup=numbered" or similar. The reason for the single step is ...
0
votes
1answer
833 views

Apache / Nginx / Varnish - GZIP does not work on css, js

My current setup is as following: Apache -> Nginx -> Varnish running on Ubuntu apache2.conf: h**p://pastebin.com/A3wehAbe .htaccess: h**p://pastebin.com/Yre4hdSy (edited to allow deflate) nginx....
0
votes
1answer
362 views

IIS7 compression failing with “COMPRESSION_DISABLED” despite having the option enabled

I have been unable to get GZIP compression working on my IIS7.5 server. I have tried all the suggestions online, including here at ServerFault and no matter what, the trace always comes back stating "...
0
votes
1answer
158 views

Repeated unsuccessful gzip compression of my website's files

The site in question is goinnativerecords.com I've got a basic shared hosting account and my website is a little heavy on the javascript so I decided to compress with gzip. Contacted my hosting, ...
-1
votes
1answer
892 views

Grade F on Compress but gzip is running

i got a litte problem with gzip YSlow says: Grade F on Compress components with gzip There are 5 plain text components that should be sent compressed Page Speed says: Enable ...
6
votes
0answers
7k views

How to use IIS URL Rewrite with gzip compression

I've been trying to create outbound rules in IIS 7.5 on Windows 2008 R2 on a site that has static HTML pages and compression enabled. If I have any form of compression enabled (static or dynamic) I ...
5
votes
0answers
543 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 ...
2
votes
0answers
257 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
0answers
210 views

Compress all apache log files which don't have any symlink pointing to them

I'm using cronolog to let the apache log files rotate. I'm using fail2ban to monitor those log files and ban in case of abuse. There's always an access.log symlink which is created by cronolog and ...
2
votes
0answers
237 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
0answers
569 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 ...
1
vote
0answers
387 views

apache deflate module not working

it's very strage, i google a problem with no luck at all. i have 2 servers (centos6, apache2.2). apache configuration is totally the same (i sure, apache configured by puppet) my deflate.conf: ...
1
vote
0answers
138 views

nginx: how to serve files in gzip format when client accepts “Accept-Encoding: gzip” and inflated otherwise?

I have a folder full of .gz files and would like to serve them transparently inflated if requested by a client that does not send Accept-Encoding: gzip in the request and as-is (gzip'd) otherwise. I ...
0
votes
0answers
14 views

Apache returns invalid Content-Length for gzip compressed 204 response

When apache returns a gzip compressed response with 204 response code and empty body server returns invalid header Content-Length: 20 instead of Content-Length: 0. Without gzip compression (without ...
0
votes
0answers
27 views

gzip: FILE is a multi-part gzip file — not supported

I am trying to restore some deleted files from one server. Using several tools for raw disk scan, I found lots of files - gz, gif, jpg etc. I also found some multi-part gzip files that I do not know ...
0
votes
0answers
15 views

How do you git archive a branch using gzip with highest compression level?

I'm trying to git archive a branch using gzip with the highest level compression (9) but it seems to not compress at that level. Here is my command: git -C /home/user/example.com/ archive --format ...
0
votes
0answers
33 views

PHP Output Buffering - Disable PHP Phar - GZip Compression

I am trying to show echo'd statements as a PHP script is running. I have tried every variant of flushes I can find, I have turned on Output Buffering in my server's PHP settings, tried disabling GZIP ...
0
votes
0answers
34 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
0answers
20 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
0answers
58 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 ...
0
votes
0answers
104 views

IIS 7.5 successfully compresses but sends uncompressed version in response

I have IIS 7.5 setup to use gzip compression on both static and dynamic content. By inspecting the "IIS Temporary Compressed Files" folder, I have verified that it is indeed compressing all of the ...
0
votes
0answers
59 views

How to implement gzip compression in such a way that the files compressed path is stored as relative path rather than absolute path?

I am trying to implement gzip compression in my Application server machine but when it is served through the proxy(different machine) to the front end the css files are getting broken due to the mixed ...
0
votes
0answers
89 views

How do I accomplish Drupal “double gzip” prevention in Nginx?

There is this section of the default .htaccess that Drupal ships with: # Serve correct content types, and prevent mod_deflate double gzip. RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1] ...
0
votes
0answers
84 views

AWS S3 content over VPN is not getting decompressed (gzip)

We have a client who is having difficulty viewing our content over their VPN. If they browse to the content it appears with all crazy characters. I think I have worked out its somthing to do with GZIP,...
0
votes
0answers
288 views

YSLow says certain CSS are not gzipped

YSlow keeps on telling me files like http://www.example.com/wp-content/plugins/q-and-a/css/q-a-plus.css?ver=1.0.6.2 are not gzipped while the gzip test tool at Feed the Bot mentions I am all good: ...
0
votes
0answers
267 views

Enable gzip for source maps

I'm using the Grunt plugins to concat, minify and generate source maps of my Javascript before I push it to the production server (I'll soon be doing the same with SASS for CSS). The source maps ...
0
votes
0answers
70 views

nginx: access_log both compressed and uncompressed

In my "vhost" declaration I have: access_log /WEBSITE_DIR/logs/access.log.gz combined gzip; Problem is I get 2 files, an access.log.gz and an access.log Why? I want just the .log.gz one..