diff --git a/weed/operation/compress.go b/weed/operation/compress.go index 50958fd50..65979d529 100644 --- a/weed/operation/compress.go +++ b/weed/operation/compress.go @@ -38,8 +38,8 @@ func IsGzippable(ext, mtype string, data []byte) bool { return true case ".php", ".java", ".go", ".rb", ".c", ".cpp", ".h", ".hpp": return true - case ".png", ".jpg", ".jpeg", "": - return true + case ".png", ".jpg", ".jpeg": + return false } // by mime type