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
2 answers

What are the command-line options for un-tarring a tar.gz file to a specific directory?

This is one of those things I don't quite do often enough to memorize. I thought it would be nice to have the answer here so I (and maybe others with as poor a memory as me) can star it. What command-line options to I use to un-tar a tar.gz file…
Daryl Spitzer
  • 2,996
  • 9
  • 33
  • 40
0
votes
1 answer

Does PS3 browser handle gzipping?

Not sure if this would be a correct place to post, but here it goes. I've been getting reports form people who try accessing my site from a PS3, that every page appears like a jumble of random characters on a white background, sort of like echoing…
user11350
0
votes
2 answers

TAR command to extract a single file from a .tar.gz

Does anyone have a command syntax for extracting 1 file from a .tar.gz that also allows me to place the extracted file in a certain directory? I have Googled this and get too many variations with a lot of forum threads stating the syntax doesn't…
H. Ferrence
  • 533
  • 3
  • 10
  • 18
0
votes
0 answers

Compressing but no Compression

Ok, on IIS i have GZip and Brotli installed, I changed the priority of the two around. The headers are now showing "Content-Encoding : GZIP" but when I use tools.pingdom.com , it is saying there's no compression. I have the following in…
0
votes
0 answers

aws t3.small nginx gzip response time is slow?

I am having php web application on t3.small ec2 instance. webserver : nginx gzip on; gzip_vary on; gzip_min_length 10240; gzip_proxied expired no-cache no-store private auth; gzip_disable "MSIE [1-6]\."; gzip_comp_level 6; …
Hitesh
  • 1
  • 1
0
votes
1 answer

enable gzip compression on nginx give me long time server response

I have a web application running on a very low web server (CPU: ARM926EJ-S, RAM: 128MB), when I enabled gzip on nginx, I found that the server takes longer to respond, and I don't know if there is something wrong with the…
Unknown
  • 101
  • 1
0
votes
1 answer

Dovecot gz trailer has wrong CRC

Installed hestia with dovecot+exim4+roundcube. Setted up gzip by adding zlib_save = gz zlib_save_level = 6 in config. Added loading module in imap conf. Im using thunderbird to read and sent messages but some messages in maildir were broken and…
0
votes
2 answers

Nginx can't handle .br (Brotli) and .gz (GZip) file requests properly

I can't set up nginx 1.18 (Ubuntu 22.04 as a server env, Chrome 104 as a client) for dealing with .br or .gz files. My frontend code bundler (Parcel 2) has generated .br and .gz index.html files but when I'm trying to access…
Eddie R
  • 101
  • 2
0
votes
0 answers

Poor server performance with nginx gzip

I enabled gzip on my nginx reverse proxy which is hosted on EC2 free tier (so lightweight server). I noticed that my request latency increased by almost 2x (13+KB compressed to 4+KB). The only issue that I can think of is that the compression on the…
Stuart
  • 1
  • 1
0
votes
3 answers

Apache: compressing as zip (not gzip)

I've configured apache 2.4 to compress content before it is delivered to the client, using mod_deflate and the clients header set to "Accept-Encoding: gzip". So this I got already working, producing a valid gzipped file: curl --header…
dr0i
  • 231
  • 2
  • 11
0
votes
1 answer

How to syncronize XML files and store them as .gz at destination using rsync

I'm using rsync -z to backup a large amount of XML files. The source is a huge machine with thousands of GBs available on disk, but the destination is not that powerful. What I want to do is to compress XML files during transfer and keep them…
0
votes
0 answers

All compressed files corrupted in server / Cannot restore .gz .tar.gz files

Did anyone run into some issues (probably a debian dist-upgrade) on having all the .gz files no longer being recognized as gzip format? We had an issue with a DB in one of the servers this morning; after checking that we had 2 kind of backups…
Armand
  • 115
  • 8
0
votes
1 answer

Enable gzip with docker and bitnami/nginx

I deployed a website with docker and bitnami/nginx as image: https://www.10studio.tech/demo. After deployment, I realized that files like analyzejs.js was not gzipped: Here is docker-compose.yml: version: "3" services: docusaurus: image:…
SoftTimur
  • 337
  • 2
  • 8
  • 16
-1
votes
1 answer

Setting a custom value to the DeflateBufferSize results in 500 internal server error

I'm trying to reset the DeflateBufferSize directive like so in my .htaccess file: DeflateBufferSize 1024 SetOutputFilter DEFLATE But the result of each page is then 500 internal server error (this happens even if I set it to its default value of…
Core_dumped
  • 103
  • 2
-1
votes
1 answer

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 get a 28GB blank file that says "Document" under…
actionAxolot
  • 101
  • 1
1 2 3
22
23