From 5f19af8fce8ddc52db6e7c507faf03a18c1b2022 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Tue, 8 Jul 2014 09:32:55 -0700 Subject: [PATCH] compress *.htm file --- go/storage/compress.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/storage/compress.go b/go/storage/compress.go index b557b3411..846fd0714 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/") {