From 61229b38f79df26cec60eb3659d6bdce4ce2027c Mon Sep 17 00:00:00 2001 From: Klaus Post Date: Sun, 23 Jun 2019 10:22:58 +0200 Subject: [PATCH] Update compression README.md (#7823) - Snappy is not and RLE compressor, it is LZ77 based. - Add `xz` as a common file type. - Add most common media container types. - Never heard of `application/x-spoon`. Google turns up a blank as well. - Change link to minio blog post on compression & encryption. --- docs/compression/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/compression/README.md b/docs/compression/README.md index 06ab61ad6..5580858da 100644 --- a/docs/compression/README.md +++ b/docs/compression/README.md @@ -44,7 +44,7 @@ export MINIO_COMPRESS_MIMETYPES="application/pdf" ### 3. Note -- Already compressed objects are not fit for compression since they do not have compressible patterns. Such objects do not produce efficient [`Run-length encoding (RLE)`](https://en.wikipedia.org/wiki/Run-length_encoding) which is a fitness factor for a lossless data compression. Below is a list of common files and content-types which are not suitable for compression. +- Already compressed objects are not fit for compression since they do not have compressible patterns. Such objects do not produce efficient [`LZ compression`](https://en.wikipedia.org/wiki/LZ77_and_LZ78) which is a fitness factor for a lossless data compression. Below is a list of common files and content-types which are not suitable for compression. - Extensions @@ -53,6 +53,10 @@ export MINIO_COMPRESS_MIMETYPES="application/pdf" | `rar` | (WinRAR) | `zip` | (ZIP) | `7z` | (7-Zip) + | `xz` | (LZMA) + | `mp4` | (MP4) + | `mkv` | (MKV media) + | `mov` | (MOV) - Content-Types @@ -61,10 +65,11 @@ export MINIO_COMPRESS_MIMETYPES="application/pdf" | `application/zip` | | `application/x-gzip` | | `application/zip` | + | `application/x-bz2` | | `application/x-compress` | - | `application/x-spoon` | + | `application/x-xz` | -- MinIO does not support encryption with compression because compression and encryption together enables room for side channel attacks like [`CRIME and BREACH`](https://en.wikipedia.org/wiki/CRIME) +- MinIO does not support encryption with compression because compression and encryption together potentially enables room for side channel attacks like [`CRIME and BREACH`](https://blog.minio.io/c-e-compression-encryption-cb6b7f04a369) - MinIO does not support compression for Gateway (Azure/GCS/NAS) implementations.