{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
.gz Archive

gzip (GNU zip)

एक व्यापक रूप से उपयोग किया जाने वाला डेटा कम्प्रेशन फॉर्मेट। gzip DEFLATE एल्गोरिथ्म का उपयोग करता है और वेब कंटेंट कम्प्रेशन, लॉग फ़ाइल कम्प्रेशन और TAR आर्काइव कम्प्रेशन में मानक है।

MIME Type

application/gzip

प्रकार

बाइनरी

संपीड़न

दोषरहित

लाभ

  • + Universal support on Unix/Linux and in HTTP content encoding
  • + Fast decompression speed
  • + Simple single-file compression with integrity checking

हानियाँ

  • Compresses only one file — needs TAR for directories
  • Lower compression ratio than bzip2, xz, or Zstandard
  • No encryption support built into the format

.GZ कब उपयोग करें

HTTP कंटेंट कम्प्रेशन, लॉग फ़ाइल कम्प्रेशन, TAR आर्काइव (.tar.gz), और ऐसे परिदृश्य जहाँ सार्वभौमिक संगतता आवश्यक हो।

तकनीकी विवरण

gzip, DEFLATE (LZ77 + Huffman coding) का उपयोग करता है। 10-बाइट हेडर में magic number (1f 8b), compression method, timestamp, OS ID होता है। CRC-32 चेकसम और original size (mod 2^32) फ़ुटर में स्टोर होते हैं। कम्प्रेशन लेवल 1 (तेज़) से 9 (अधिकतम) तक है।

इतिहास

Jean-loup Gailly और Mark Adler ने 1992 में gzip विकसित किया, जो Unix compress कमांड (पेटेंट-बाधित LZW) का मुक्त विकल्प था। HTTP/1.1 ने Content-Encoding: gzip को मानकीकृत किया। आज लगभग सभी वेब सर्वर और ब्राउज़र gzip कम्प्रेशन सपोर्ट करते हैं।

.GZ से रूपांतरित करें

.GZ में रूपांतरित करें

संबंधित फ़ॉर्मेट