Questions tagged [gzip]

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.

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.

Gzip is based on the DEFLATE algorithm, which is a combination of LZ77 and Huffman coding. DEFLATE was intended as a replacement for LZW and other patent-encumbered data compression algorithms, which, at the time, limited the usability of compress and other popular archivers.

"Gzip" is often also used to refer to the gzip file format, which is:

  • a 10-byte header, containing a magic number, a version number and a time stamp
  • optional extra headers, such as the original file name
  • a body, containing a DEFLATE-compressed payload
  • an 8-byte footer, containing a CRC-32 checksum and the length of the original uncompressed data

source: wikipedia

334 questions
0
votes
1 answer

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. I made the change but my headers are still using…
user715564
  • 143
  • 2
  • 7
0
votes
1 answer

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 referenced in this boilerplate code are loaded, and…
Oliver Joseph Ash
  • 361
  • 3
  • 5
  • 14
0
votes
1 answer

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 problem. However, in Safari, only partial content is…
Fake51
  • 132
  • 5
0
votes
1 answer

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 procedure to follow for a newbie?
Mattia Lipreri
  • 103
  • 1
  • 4
0
votes
2 answers

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 resources with gzip could reduce their transfer size…
albo
  • 51
  • 1
  • 7
0
votes
1 answer

Determine compression % of gzip file?

Is there an easy way to determine the compression % of a .gz file?
Jake Wilson
  • 8,814
  • 29
  • 97
  • 125
0
votes
1 answer

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 the end side? Will it have only the files as of the start…
pl1nk
  • 461
  • 5
  • 22
0
votes
1 answer

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
Spacedust
  • 568
  • 5
  • 13
  • 28
0
votes
2 answers

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, there are 3 options for compression and I'm not…
nuceman
  • 51
  • 1
  • 3
0
votes
1 answer

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 meta http-equiv, this works perfectly. However, I…
Googlebot
  • 1,047
  • 2
  • 15
  • 30
0
votes
1 answer

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 400kb. I looked at the header of the javascript on…
Moon
  • 2,123
  • 4
  • 24
  • 23
0
votes
1 answer

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 "COMPRESSION_DISABLED", but I don't know why it's…
Chris Thompson
  • 537
  • 1
  • 13
  • 22
0
votes
2 answers

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 proxy_pass. main nginx config: user…
petermolnar
  • 1,029
  • 1
  • 12
  • 17
0
votes
3 answers

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 error: zip error: Entry too big to split, read, or write…
shantanuo
  • 3,579
  • 8
  • 49
  • 66
0
votes
1 answer

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, they say that Apache on the server has mod_gzip…
Orun
  • 157
  • 1
  • 6