Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to release #39

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .changeset/twenty-experts-shave.md

This file was deleted.

15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# varnish-post

## 2.3.0

### Minor Changes

- 1b8342c: Add xkey support in order to support tag-based invalidation.

The backend can now send a `xkey` header with a value that will be used to tag the cache entry.
This tag can be used to invalidate the cache entry by sending a `PURGE` request with the `xkey` header set to the same value like this:

```sh
curl -sL -X PURGE -H 'xkey: TAG_VALUE' http://varnish-endpoint/
```

Doing this will remove all cache entries that have the same tag value.

## 2.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "varnish-post",
"version": "2.2.0",
"version": "2.3.0",
"description": "Custom Docker image for Varnish",
"main": "index.js",
"repository": "[email protected]:zazuko/varnish-post.git",
Expand Down