summaryrefslogtreecommitdiff
path: root/cmd/caddy
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-10-09 19:22:46 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-10-09 19:22:46 -0600
commita53b27c62e792e09380876db916289c77f2ae2e0 (patch)
tree296a3ddd6beb1bb5fd933060d42e6feb8b06396f /cmd/caddy
parent03306e646e3ee421f582ef69a2158724bcf2614b (diff)
http: Add work-in-progress cache handler module
This migrates a feature that was previously reserved for enterprise users, according to https://github.com/caddyserver/caddy/issues/2786. The cache HTTP handler will be a high-performing, distributed cache layer for HTTP requests. Right now, the implementation is a very basic proof-of-concept, and further development is required.
Diffstat (limited to 'cmd/caddy')
-rw-r--r--cmd/caddy/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/caddy/main.go b/cmd/caddy/main.go
index 93e95e7..87226cd 100644
--- a/cmd/caddy/main.go
+++ b/cmd/caddy/main.go
@@ -28,6 +28,7 @@ import (
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode/zstd"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/fileserver"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/headers"
+ _ "github.com/caddyserver/caddy/v2/modules/caddyhttp/httpcache"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/markdown"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/requestbody"
_ "github.com/caddyserver/caddy/v2/modules/caddyhttp/reverseproxy"