feat: add varnish WIP#1961
Closed
Chris53897 wants to merge 1 commit intoapi-platform:mainfrom
Chris53897:feat-varnish
Closed
feat: add varnish WIP#1961Chris53897 wants to merge 1 commit intoapi-platform:mainfrom Chris53897:feat-varnish
Chris53897 wants to merge 1 commit intoapi-platform:mainfrom
Chris53897:feat-varnish
Conversation
Contributor
|
Hi @Chris53897 Thanks for this proposal. If this POC is still in progress, have you considered Souin as a Caddy cache-handler instead of Varnish? |
Contributor
Author
|
Hi @vincentchalamon |
9 tasks
Member
|
Closing in favor of #2383. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is just a proof of concept for varnish with APIP 2.6.
It is buggy. /docs need sometimes refreshed 4-6 times to work.
PWA, Vulcain, Mercure is not supported (or tested) at the moment.
I try to reuse varnish code from apip 2.5.
You may want to change these lines for your platform in /api/Dockerfile
#FROM varnish:${VARNISH_VERSION} AS api_platform_varnish
only temp for develop on Mac M1 - ARM64 not available for org. varnish
FROM beevelop/varnish AS api_platform_varnish
I am working on the deployment for kubernetes. Varnish is called but could not cache invalidation working.
Until this is fixed i am not gone push that.