Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rfc): Cache invalidation and Cache groups (#363)
* fix(middleware): revalidate when needed #362 * feat(chore): support http-cache-groups RFC as early stage (https://datatracker.ietf.org/doc/draft-nottingham-http-cache-groups) * feat(chore): support http-invalidation RFC as early stage (https://datatracker.ietf.org/doc/draft-nottingham-http-invalidation) * fix(plugins): traefik and caddy to use Storers * fix(ci): debug caddy reload * fix(plugin): tyk * feat(release): bump next release version
- Loading branch information
Showing
65 changed files
with
1,946 additions
and
679 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM caddy:2.7-builder-alpine AS app_caddy_builder | ||
|
||
COPY . /usr/local/go/src/souin | ||
WORKDIR /usr/local/go/src/souin/plugins/caddy | ||
|
||
RUN xcaddy build v2.7.4 --with github.com/darkweak/souin/plugins/caddy=./ --with github.com/darkweak/souin=../.. | ||
RUN mv ./caddy /usr/bin/caddy | ||
|
||
FROM caddy:2-alpine AS app_caddy | ||
WORKDIR /srv/app | ||
|
||
COPY --from=app_caddy_builder --link /usr/bin/caddy /usr/bin/caddy | ||
COPY ./plugins/caddy/Caddyfile /etc/caddy/Caddyfile |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.