From 43412b039c11b2cf58bd138c2a3eaf362701219d Mon Sep 17 00:00:00 2001 From: Daniel West Date: Mon, 30 Sep 2024 10:35:11 +0100 Subject: [PATCH] Update performance.md Remove duplicate cache-handler in the xcaddy build and replace the frankenphp module lines. The previous lines resulted in messages that php_server is not ordered. Perhaps these lines were outdated? This currently appears to work for me. --- core/performance.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/performance.md b/core/performance.md index 36d802eef2a..bae84a7a747 100644 --- a/core/performance.md +++ b/core/performance.md @@ -41,12 +41,10 @@ The integration using the cache handler is quite simple. You just have to update +ENV CGO_ENABLED=1 XCADDY_SETCAP=1 XCADDY_GO_BUILD_FLAGS="-ldflags \"-w -s -extldflags '-Wl,-z,stack-size=0x80000'\"" +RUN xcaddy build \ + --output /usr/local/bin/frankenphp \ -+ --with github.com/dunglas/frankenphp=./ \ -+ --with github.com/dunglas/frankenphp/caddy=./caddy/ \ ++ --with github.com/dunglas/frankenphp/caddy \ + --with github.com/dunglas/mercure/caddy \ + --with github.com/dunglas/vulcain/caddy \ + --with github.com/dunglas/caddy-cbrotli \ -+ --with github.com/caddyserver/cache-handler + # You should use another storage than the default one (e.g. otter). + # The list of the available storages can be find either on the documentation website (https://docs.souin.io/docs/storages/) or on the storages repository https://github.com/darkweak/storages + --with github.com/caddyserver/cache-handler