Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Do not compress brotli archives

Tobias Mühl12a7e87007e2
diff --git a/weed/util/compression.go b/weed/util/compression.go
index 9d52810cb5..759be9bb07 100644
--- a/weed/util/compression.go
+++ b/weed/util/compression.go
@@ -126,7 +126,7 @@ func IsZstdContent(data []byte) bool {
// by file name extension
switch ext {
- case ".zip", ".rar", ".gz", ".bz2", ".xz", ".zst":
+ case ".zip", ".rar", ".gz", ".bz2", ".xz", ".zst", ".br":
return false, true
case ".pdf", ".txt", ".html", ".htm", ".css", ".js", ".json":
return true, true