Skip to content

Commit 8278685

Browse files
committed
feat(#1305734): Give the possibility to disable varnish
1 parent 4e72650 commit 8278685

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/config/packages/api_platform.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ api_platform:
33
paths: [ '%kernel.project_dir%/src/Entity' ]
44
http_cache:
55
invalidation:
6+
# If you disable the invalidation, comment or remove the "varnish urls" config just below
7+
enabled: true
68
varnish_urls: [ '%env(VARNISH_URL)%' ]

0 commit comments

Comments
 (0)