Skip to content

Commit 43412b0

Browse files
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.
1 parent adae1bb commit 43412b0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

core/performance.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@ The integration using the cache handler is quite simple. You just have to update
4141
+ENV CGO_ENABLED=1 XCADDY_SETCAP=1 XCADDY_GO_BUILD_FLAGS="-ldflags \"-w -s -extldflags '-Wl,-z,stack-size=0x80000'\""
4242
+RUN xcaddy build \
4343
+ --output /usr/local/bin/frankenphp \
44-
+ --with github.com/dunglas/frankenphp=./ \
45-
+ --with github.com/dunglas/frankenphp/caddy=./caddy/ \
44+
+ --with github.com/dunglas/frankenphp/caddy \
4645
+ --with github.com/dunglas/mercure/caddy \
4746
+ --with github.com/dunglas/vulcain/caddy \
4847
+ --with github.com/dunglas/caddy-cbrotli \
49-
+ --with github.com/caddyserver/cache-handler
5048
+ # You should use another storage than the default one (e.g. otter).
5149
+ # 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
5250
+ --with github.com/caddyserver/cache-handler

0 commit comments

Comments
 (0)