Skip to content

Commit

Permalink
feat(#1305734): Give the possibility to disable varnish
Browse files Browse the repository at this point in the history
  • Loading branch information
botisSmile authored and PierreGauthier committed Jan 24, 2025
1 parent 4e72650 commit bb58ff3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ api_platform:
paths: [ '%kernel.project_dir%/src/Entity' ]
http_cache:
invalidation:
# If you disable the invalidation, comment or remove the "varnish urls" config just below
enabled: true
varnish_urls: [ '%env(VARNISH_URL)%' ]

0 comments on commit bb58ff3

Please sign in to comment.