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.
0
votes
1answer
24 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
46 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
59 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 ...
-2
votes
1answer
15 views
Zip with a parent folder [closed]
I am currently in a folder /tmp/foo, e.g.
/tmp/foo
/tmp/foo/a
/tmp/foo/b
and I want to zip all the files/directories under this folder with a virtual folder bar, so that when un-zipped, it will be ...
1
vote
2answers
44 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
107 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
71 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
62 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
38 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
38 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
66 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
144 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
66 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
57 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
100 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
45 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
0answers
23 views
Apache is unreachable while backup with gzip
On my server there are many virtual hosts and databases. I have a backup sh cron to create backup of the files every day at 4AM. From 4AM to 5AM, while backup is made, Apache fully becomes ...
0
votes
1answer
29 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
86 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
115 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
1answer
199 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
134 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
138 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
106 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
66 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
372 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
59 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
0answers
91 views
HTTP gzip compression not working for css or javascript in tomcat 6 for amazon server [closed]
Here is my setting in tommcat conf/server.xml
The result is it can compress text/html but not for javascript and css.
My rent this is amazon cloud server.
I log onto this server and make the ...
0
votes
0answers
108 views
gzip compression not working for javascript and CSS
I have included the following in the .htaccess file:
# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
...
1
vote
2answers
271 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
339 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
162 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 ...
1
vote
0answers
127 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
1answer
108 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 ...
1
vote
3answers
522 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
...
3
votes
1answer
640 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 ...
3
votes
1answer
473 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
0answers
142 views
mod_deflate doesn't work [closed]
I want to gzip my static files. so put this in .htaccess:
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript ...
0
votes
1answer
33 views
Determine compression % of gzip file? [closed]
Is there an easy way to determine the compression % of a .gz file?
1
vote
1answer
889 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
495 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
40 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
341 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 ...
2
votes
1answer
726 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
103 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
247 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:
...
2
votes
3answers
292 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
123 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
303 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
639 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 ...