diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2020-04-01 14:09:57 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2020-04-01 14:09:57 -0600 |
commit | d322de6b429e9f0bc589880b53373975dabcb997 (patch) | |
tree | 42ce1a1917e9db9d7095bc819ef61d9d084f4b29 /modules | |
parent | ce3ca541d83aedac70b6c251c149ed91e1fb843a (diff) |
gzip: Use klauspost/gzip, an optimized gzip implementation
Diffstat (limited to 'modules')
-rw-r--r-- | modules/caddyhttp/encode/gzip/gzip.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/encode/gzip/gzip.go b/modules/caddyhttp/encode/gzip/gzip.go index 590f708..8215b3f 100644 --- a/modules/caddyhttp/encode/gzip/gzip.go +++ b/modules/caddyhttp/encode/gzip/gzip.go @@ -16,13 +16,13 @@ package caddygzip import ( "compress/flate" - "compress/gzip" // TODO: consider using https://github.com/klauspost/compress/gzip "fmt" "strconv" "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile" "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode" + "github.com/klauspost/compress/gzip" ) func init() { |