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

-1
votes
0answers
14 views

Nginx Waiting Time and Receiving Time Conflict

I'm using nginx. I read nginx documentation and some other documentation on the internet finally i finished my nginx configuration, but i have a problem and i couldn't find the solution. I know the ...
-1
votes
0answers
15 views

Apache configure GZIP with xampp [on hold]

I am using xampp for windows with apache 2.4 and I want to activate the GZIP. I wrote in the httpd.conf file: SetOutputFilter DEFLATE <ifmodule mod_deflate.c> AddOutputFilterByType ...
0
votes
1answer
43 views

dd command piped over gzip and ssh faster and faster as dd progresses

I am running the following command to copy a LVM from one host to another: dd if=/dev/vg_1/lv1 conv=noerror,sync bs=4M | gzip | ssh user@ip 'gzip -d | dd of=/dev/vg_2/lv1 bs=4M' To begin with I was ...
-1
votes
1answer
76 views

How to ideally store images on Amazon S3

I want to store a huge number of images on Amazon S3 (served via Cloudfront). Currently the way I am doing is simply dumping the images and having basic HTTP Cache headers set to a month so that users ...
1
vote
2answers
32 views

Rolling log file without losing any log event

I have an 8GB file called php.log with a running php script logging into it. It is important for me that I log every event, and I want to compress it and empty the current file without stopping the ...
0
votes
0answers
33 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 ...
2
votes
1answer
53 views

nginx gzip_static: why are the non-compressed files required?

I'm working with nginx 1.4.4 running on Ubuntu 12.04.4. nginx is reverse-proxing a cluster of Rails application servers. Static files (mostly assets) are served directly, without hitting the ...
0
votes
0answers
27 views

Enable ZIP compression of mails in Dovecot

Can you tell me how to enable ZIP compression of mails in Dovecot? I use mdbox as storage and enabled the zlib plugin by adding a 90-zlib.conf to /etc/dovecot/conf.d/ with the content plugin { ...
0
votes
0answers
22 views

GZIP compression for merged and specific files

My Website is using a CMS (Typo3) that has the feature to merge and compress all JavaScript and CSS Files. With htaccess i also enable the server side gzip feature which will work fine. But it seems ...
0
votes
1answer
15 views

Files sometimes fail to be retrieved from apache server

So, I'm not sure what the problem here is but I suspect it might be the server. So here's some key details Amazon EC2 servers (All in the same region and zone) Ubuntu 12.04 server Apache2 with gzip ...
0
votes
1answer
23 views

IIS 7.5 inconsistently Gzips files (with PHP & ASP.NET)

I made some changes to the web.config of a server running IIS 7.5 improve the performance (mostly front-end). A 3rd party testing tool says the site is running "PHP/5.3.10, ASP.NET" and if memory ...
0
votes
1answer
45 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". ...
0
votes
1answer
115 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) ...
0
votes
0answers
34 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
18 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..
0
votes
1answer
68 views

find directories in the current directory, older than 5 days and archive them

This is basic questions. I need to find folders in the current working directory(not recursively) and if they are older than 5 days archive them. zip or tar.gz is fine. I can find the folders with ...
0
votes
1answer
336 views

Compress with Gzip or Deflate my CSS & JS files [closed]

i ve a fashion website & using wordpress. I want to Compress or Gzip or Deflate my CSS & JS files. i have tried many codes with .htaccess to compress but not working. Would any body help me ...
0
votes
0answers
89 views

Recompiling Nginx 1.4.3 with “--with-http_gzip_static_module” error

I'm trying to enable the 'ngx_http_gzip_static_module' module in Nginx 1.4.3 by adding the --with-http_gzip_static_module to my ./configure configuration. But I recieve the following error when i try ...
7
votes
5answers
382 views

Grep-ing gzipped files [duplicate]

I have a set of 100 log files, compressed using gzip. I need to find all lines matching a given expression. I'd use grep, but of course, that's a bit of a nightmare because I'll have to unzip all ...
12
votes
3answers
922 views

I accidently zipped my whole server

Alright if anyone wants to play god and work miracles i'm down. So, i was given the task of making a script that found files that are older than 6 months, zipped them and then deleted them. On my way ...
0
votes
1answer
96 views

Tomcat6 Decompressing GZip Request

Since Tomcat has the option to compress its response to GZip. Is there a way to configure Tomcat 6 to decompress gzipped requests without putting it behind an Apache server with mod_deflate enabled, ...
1
vote
1answer
151 views

How to set gzip_static and gzip_proxied in nginx

nginx is in front of an application server and functions as the reverse proxy as well as the file server. There are two types of responses from the application server: JSON messages and ...
0
votes
1answer
51 views

gzip compression with nginx - Not being reported correctly in tests?

nginx 1.4.2 Google Pagespeed Insights (web version) is reporting that I should compress a number of .js files on my site. I've checked the mime.types config file and it includes the default ...
0
votes
0answers
59 views

Use gzip_static on Nginx with proxied Tornado backend

I have a Nginx in front of a Tornado server, and the Tornado server tells Nginx to serve various static content using X-Accel-Redirect header. Now I want to enable gzip_static for one of the ...
0
votes
1answer
254 views

Forcing Nginx to send Content-Length headers when serving static files with gzip

We're running Nginx 0.7.65[-1ubuntu2.3]. I've just noticed that when serving local static files using an alias directive and gzip on, the Content-Length header is not getting sent. Since it's serving ...
1
vote
1answer
92 views

Shell script error on filename with spaces

I have a bash script that search for every static file located under my server root and stores a gzipped version next to each file. I got it from ...
0
votes
0answers
56 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 ...
0
votes
0answers
113 views

Why doesn't IIS7 compress asmx files?

I have multiple IIS7 webservers on which I have enabled both static and dynamic compression. Everything works fine except that only one server manages to compress the responses to requested asmx ...
0
votes
0answers
87 views

GZip compression won't enable - Works fine on one site but not another

So this is a bit of a weird one... I've had a site hosted on my server for quite a while which has GZip compression enabled in Apache, using htaccess. I recently made a new site on the same server, ...
1
vote
2answers
155 views

Should I compress resources with a loadbalancer (Nginx) or with a web server (IIS7)?

I have the following setup: Nginx (1.1.19) on the front as a reverse proxy / loadbalancer IIS7 at the back as web servers MySQL as a database I am trying to figure out whether to compress static ...
1
vote
1answer
134 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, ...
0
votes
1answer
241 views

Nginx x-accel stripping Content-Encoding header

I have my Nginx server setup allow requests to be served with the X-Accel-Redirect header. This works fine for images, but I'm trying to get it to work for Javascript files that are already gzip'ed on ...
0
votes
1answer
93 views

mod_deflate is working but send wrong headers

I'm using mod_deflate to server gzip content for js and css files. Using curl I can see that it works and I can see the code but Chrome still thinks it's gzip content and NOT stylesheets/javascript ...
1
vote
2answers
744 views

Why is gzip compression varying in efficiency in IIS?

While running Fiddler, I noticed something odd in a request for a static ~5MB XML file to my server: Despite sending byte-for-byte identical headers (Edit: Including the headers), the responses were ...
0
votes
1answer
399 views

Apache gzip compression

I have an inherited Apache 2.2.17 server running on Ubuntu that I need to enable compression on. I have ensured the mod is loaded: apachectl -t -D DUMP_MODULES Loaded Modules: ... deflate_module ...
1
vote
2answers
78 views

How to enable gzip for files not on your server?

I'm running a gtmetrix.com report against my site. I get an F(41) for gzip compression. I don't own the two problem files mentioned for this penality. One file is a CSS on Mailchimp's server. Another ...
1
vote
2answers
1k views

nginx gzip enabled but not not gzipping

I have gzip enabled on nginx 1.2.8, but for some reason, it is not gzipping anything. Nginx install info: nginx version: nginx/1.2.8 built by gcc 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) TLS SNI ...
0
votes
2answers
514 views

Gzip compression with nginx

In my nginx.conf I have: gzip on; gzip_static on; gzip_buffers 16 8k; gzip_comp_level 9; gzip_http_version 1.0; gzip_min_length 1000; gzip_types text/plain text/css ...
1
vote
1answer
106 views

How is Apache 1.3 compressing?

More specifically, I would like suggestions as to how my server is encoding in gzip compressed format. We have once OC4J container that serves gzip transfer encoding, and others do not. Trying to ...
2
votes
1answer
94 views

Nginx and HttpGzipStaticModule

I have an nginx instance built with the gzip_static module nginx version: nginx/1.2.6 built by gcc 3.4.6 20060404 (Red Hat 3.4.6-11) TLS SNI support disabled configure arguments: --prefix=/home/nginx ...
1
vote
0answers
82 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 ...
2
votes
0answers
116 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 ...
1
vote
1answer
2k 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
604 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
199 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
271 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
71 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
43 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
209 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
308 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: ...