The gzip tag has no wiki summary.
4
votes
1answer
37 views
Why isn't the Nginx Gzip Precompression module working?
I'm currently trying to set up Nginx to serve all of my static files. Since they will not be changed very frequently at all I want to us the gzip_static module to allow me to pre-gzip copies of my ...
2
votes
1answer
98 views
Apache send HTML without comments
I have a problem with my Apache Webserver, I got 2 environments: Development and Production. Both have the same configuration, but the first one sends the HTMLs exactly as they've been created, the ...
1
vote
2answers
70 views
How to gzip logs created by rotatelogs
I'm using rotatelogs to create my daily apache logs in format host.<day>.<month>.<year>.access.log. Now I want to gzip and move log to different directory after it's been finished. ...
0
votes
1answer
22 views
same javascript file, but different file size depends on a server?
I have a weird problem.
I have two exact website on two servers - dev and qa.
The dev one shows that my javascript size is 100kb, but the qa says 400kb. When I save the script on my local, it is ...
0
votes
2answers
108 views
How to tell if mod_deflate is actually working?
I have put the following in my http.conf file:
# mod_deflate configuration
<IfModule mod_deflate.c>
# Restrict compression to these MIME types
AddOutputFilterByType DEFLATE text/plain
...
3
votes
1answer
140 views
How do I configure nginx to accept gzip requests?
I know that you can use nginx HttpGzipModule to gzip responses. Can you als use it to enable nginx to handle gzip-compressed requests, i.e. ones with the request header: Content-Encoding: gzip ?
...
1
vote
2answers
81 views
Disk cloning using dd thru gzip - how effective is it? [closed]
Is gzip or gzip -9 for a disk clone worth the extra time that it takes to perform the compression? Does it yield a significant saving?
There is very little information on how effective piping data ...
0
votes
1answer
51 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 ...
1
vote
1answer
27 views
Enabling gzip compression in apache2 web server
I am trying to enable the zgip compression in apache2 web server, a quick googling helped me to fetch some instructions and I got to know that I need to edit httpd.conf which is inside /etc/apache2/ ...
0
votes
1answer
77 views
nginx: gzip compression configured without error yet output is not compressed
After trying anything I could, the gzip compression in my nginx is still not working.
environment:
Ubuntu 11.04 with nginx ppa, with the latest release (1.0.8)
PHP5-FPM backend from package with ...
0
votes
3answers
100 views
zip does not work for big files
What is the best way to compress a file if it is more than 4 GB in size?
I am using the following for last several months.
mysqldump --all-databases | zip > mybackup.zip
Today I am got an ...
-1
votes
1answer
112 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 ...
1
vote
0answers
208 views
Config NGINX to GZip Font Files? ( Different gzip_types for different directories)
SOLUTION: It turns out it is not my config / NGINX faults - my DNS provider, cloudflare, is preventing the fonts from being GZipped for some reason
I'm using NGINX with GZIP_Static module installed.
...
0
votes
1answer
85 views
Oops - how to undo gzip of entire web directory? [closed]
So.. yeah. I don't spend a lot of time on the linux command line and instead of making a zip file of the web directory, I gzipped everything in the web directory. What's the anecdote to stupidly ...
1
vote
1answer
84 views
Why does tar -c dir | pigz > /mnt/nfs/dir.tgz use network, then cpu in cycles instead of both at once (with one bottlenecking)
I want to transfer a multi-terabyte directory to an nfs mounted directory most efficiently over a 1Gbit network (probably the limiting factor)
3 options -
tar and compress in place, then copy
copy, ...
0
votes
1answer
89 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, ...
0
votes
3answers
79 views
How to use GZip to create a .zip file
Is it possible to use GZip to create a .zip file? I've been Googling and can't find anything that leads me to believe this is possible
1
vote
2answers
75 views
`mod_deflate` is returning `Content-Encoding: gzip`. Is that normal?
mod_deflate is configured on my Apache 2.2 web server. But my response headers are showing gzip as the Content-Encoding instead of deflate:
HTTP/1.1 200 OK
Date: Mon, 26 Sep 2011 22:26:11 GMT
...
1
vote
1answer
42 views
Should I serve compressed PDFs?
I'd like to know if there's a general rule of thumb wheter to enable gzipping for PDF files or not. I use NGINX but I think this would be helpful for Apache users as well.
Thanks.
0
votes
2answers
134 views
CRC Failed, File is broken, using php system command to tar a directory
Can anybody see a problem with the below PHP code? Or have any ideas to troubleshoot a solution as to why whenever I download the backup file.tar.gz and try to open it using 7zip on windows... that I ...
0
votes
0answers
20 views
Ubuntu gzip compression throwing 1015 error?
How can I find out if zlib is installed and working? Right now, I'm getting a 1015 error when pushing my users to a paypal auto-redirect page with gzip turned on--when I turn it off, it works. :/
...
0
votes
2answers
68 views
What reasons (if any) are there to *not* enable gzip compression for your web server?
Specifically I am working with IIS7, in case there are platform specific reasons, but I am curious in general.
I know gzip compression is more CPU intensive for both the server and the client, but it ...
1
vote
1answer
74 views
Turn off gzip compression for one virtual host
I'm running into a problem where I think PHP deprecation errors are causing the headers to be malformed, causing a 330 error. If I disable error reporting for E_DEPRECATION, the error disappears, so ...
1
vote
3answers
172 views
PHP content-length header not specifying size for my forced download
I am trying to allow our users to be able to download a zip file using a php force download. I was having trouble getting the download to finish and it turned out the zip file was getting gzipped and ...
0
votes
3answers
94 views
Uncompressing gzip file
I have compressed a folder using following command:
tar czvf arch.tar.gz dirname/
When I try to uncompress it using following command
tar xvfz arch.tar.gz
then it uncompress folder but contents ...
1
vote
1answer
70 views
Apache deflates .xml.gz files
I noticed an error in google webmaster tools regarding a gzipped version of a sitemap. Turns out the sitemap.xml.gz file is gzipped twice: one upon creation (as it should be) and another time when ...
0
votes
2answers
352 views
gunzip: invalid compressed data--format violated
Problem definition:
I transferred a tar.gz file from a Linux machine to a Windows partition.The Windows partition has mounted with the Linux server as cifs.
OS : Red Hat Enterprise Linux Server ...
0
votes
0answers
452 views
Java VM 1.6.0_26 crashes Tomcat 6.0.32 when HTTP compression set to on
We are running the 64-bit version of Java VM 1.6_06 together with Apache Tomcat 6.0.32 on a 64-bit Windows Server 2003.
After we installed the latest security updates this Wednesday to Windows the ...
2
votes
1answer
687 views
How can I enable GZIP compression in Jetty?
I have a Jetty server which does not have compression enabled (I tested this here). How can I enable compression?
-1
votes
1answer
189 views
Unable to decompress a .gz file on centos. gunzip: filename.tar.gz: not in gzip format
I am trying to install the latest apache ant to centos. I did as follows:
wget http://ant.apache.org/bindownload.cgi/apache-ant-1.8.2-bin.tar.gz
gzip -d apache-ant-1.8.2-bin.tar.gz
and I get the ...
1
vote
2answers
42 views
Is it possible to store MySQL data as comressed?
Is it possible to store MySQL data compressed? Option for that in MySQL?
0
votes
1answer
180 views
Gzip Compression IIS7 with Proxy Not working
I have seen posts with GZIP compression not working on IIS7, but none seemed to help in my case.
I have a proxy server that sends the request to my website on IIS7.
I have the following in web.config ...
2
votes
2answers
151 views
Erratic gzip compression on IIS7.5
This is best demonstrated when we just try to request a single CSS file from our IIS server. Sometimes we get the whole uncompressed file back. We'll wait 5 seconds and refresh, then the CSS file is ...
0
votes
1answer
66 views
gzip, deflate are not showing while accessing from a proxy
We enabled gzip and deflate in our local server and it shows correctly in phpinfo like shown below
HTTP_ACCEPT_ENCODING gzip,deflate,sdch
We installed the same in our client's server and there was ...
8
votes
5answers
177 views
Grepping through .gz log files
Does there exist a magical shell piping which would allow easily to grep through bunch of .gz log files without needing to extract them somewhere?
.gz files are Apache logs, result of log rotation. ...
1
vote
2answers
297 views
How can I disable gzip in apache on Ubuntu 10.10?
I'm trying to figure out how to disable or uninstall gzip from my Ubuntu server. This is to support a package of buggy software that breaks when it's trying to do a crazy call to a css file (don't ...
0
votes
2answers
67 views
IIS6 wont compress js and css
So recently I configured IIS6 to compress files I now have most files compressing apart from my JavaScript and CSS files. Does anyone have an idea what maybe causing them not to be compressed.
I know ...
1
vote
1answer
46 views
gzipped tar archive file paths
I am creating a tar.gz file containing some files and folders as follows:
/bin/tar cfz /usr/local/backups/mybackup-${DATENAME}.tar.gz
/usr/local/backups/db-${DATENAME}.sql.gz
...
0
votes
3answers
83 views
When I extract .tar.gz all of the files within the folders have the .gz suffix
I have recently begun using a VPS and am learning linux along the way. I have compressed a folder using tar, then I gzipped it and used scp to send it to my server. When I decompress using tar -zxvf ...
0
votes
4answers
804 views
how to copy & gzip files individually over ssh
I'd like to transfer a directory with uncompressed files over using ssh, gzip'ing them individually along the way. Can anyone recommend a simple oneliner to achieve this?
eg.
fileA.ext -> ssh/pipe ...
0
votes
1answer
885 views
What is the best nginx compression gzip level?
I'm using nginx reverse proxy cache with gzip enabled. However, I got some problems from android applications http requests to my rails json web service. It seems when I turn off reverse proxy cache, ...
1
vote
3answers
333 views
How to manually extract a backup set made by duplicity?
I have a set of files on my webserver produced by duplicity software:
duplicity-full.20110315T085334Z.vol1.difftar.gz
duplicity-full.20110315T085334Z.vol2.difftar.gz
...
0
votes
1answer
139 views
making apache serve unzipped content from zipped files
I need to serve a bunch of gzipped MIDI files from an Apache server. The catch is that when the user requests them, the response should come back with a "audio/midi" content-type header and not a gzip ...
0
votes
1answer
238 views
gzip compression good or bad?
I have a server that currently does alot of processing in my application and the target users are those who have a very good internet connection.
The output that is sent from the server is always ...
0
votes
1answer
344 views
How do I server pre-gzipped files with nginx so that they'll be shown as text in the browser?
I have a bunch of gzipped log files I'd like to serve with nginx. I want them to served in such a way that they're automatically inflated by the browser. I assume that means I need nginx to send the ...
1
vote
0answers
580 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 ...
0
votes
2answers
476 views
How to pre gzip static JS
my site is running IPB 3.1.4 and I want to pre-compress my .js files. I have ssh root access and need the command to gzip the js directory and the code for htaccess.
My htaccess:
Options -Indexes
...
0
votes
1answer
171 views
Apache inflate application/ with mod_filter
I need to prevent pdf objects from being gzipped. Really, this only needs to take place if the request is from the Mozilla browser (but since I can't get something as seemingly simple as no-gzip for ...
0
votes
2answers
545 views
I am trying gzip compression for my javascripts and css file but for css it is not working
I am trying gzip compression for my js and css files. but for css it is not working. also when i do page speed analysis using firefox page speed it asks to enable gzip compression on your server. it ...
0
votes
3answers
252 views
Attempted gzip of directory applied gzip to each file individually
I tried to gzip a directory with the following command:
gzip -r /home/path/to/backups/mydirectory.gz /home/site/public_html/
I was expecting to see a .gz file show up inside ...backups containing ...