Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
gzip: Use klauspost/gzip, an optimized gzip implementation
Matthew Holt committed
Apr 1, 2020 at 14:09 UTC
d322de6b429e9f0bc589880b53373975dabcb997
1 file changed
+1
-1
modules/caddyhttp/encode/gzip/gzip.go
+1
-1
@@ -16,13 +16,13 @@ package caddygzip
16
17
import (
18
"compress/flate"
19
- "compress/gzip" // TODO: consider using https://github.com/klauspost/compress/gzip
19
"fmt"
20
"strconv"
21
22
"github.com/caddyserver/caddy/v2"
23
"github.com/caddyserver/caddy/v2/caddyconfig/caddyfile"
24
"github.com/caddyserver/caddy/v2/modules/caddyhttp/encode"
25
+ "github.com/klauspost/compress/gzip"
26
)
27
28
func init() {