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.

compress *.htm file

Chris Lu5f19af8fce8d
diff --git a/go/storage/compress.go b/go/storage/compress.go
index b557b34114..846fd0714f 100644
--- a/go/storage/compress.go
+++ b/go/storage/compress.go
@@ -19,7 +19,7 @@ func IsGzippable(ext, mtype string) bool {
switch ext {
case ".zip", ".rar", ".gz", ".bz2", ".xz":
return false
- case ".pdf", ".txt", ".html", ".css", ".js", ".json":
+ case ".pdf", ".txt", ".html", ".htm", ".css", ".js", ".json":
return true
}
if strings.HasPrefix(mtype, "application/") {