Skip to content

Commit

Permalink
Merge pull request #39 from zazuko/changeset-release/main
Browse files Browse the repository at this point in the history
Merge to release
  • Loading branch information
ludovicm67 authored Jun 3, 2024
2 parents 6d5e18d + ee76865 commit 6028472
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
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

0 comments on commit 6028472

Please sign in to comment.