https://github.com/statikbe/craft-blitz-varnish
The Varnish Cache Purger allows the Blitz plugin for Craft CMS to intelligently purge cached pages on connected Varnish servers.
https://github.com/statikbe/craft-blitz-varnish
craft-plugin craftcms varnish-cache
Last synced: 4 months ago
JSON representation
The Varnish Cache Purger allows the Blitz plugin for Craft CMS to intelligently purge cached pages on connected Varnish servers.
- Host: GitHub
- URL: https://github.com/statikbe/craft-blitz-varnish
- Owner: statikbe
- License: other
- Created: 2022-12-20T14:11:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-12T12:54:34.000Z (over 1 year ago)
- Last Synced: 2025-10-08T22:27:00.671Z (8 months ago)
- Topics: craft-plugin, craftcms, varnish-cache
- Language: VCL
- Homepage: https://plugins.craftcms.com/blitz-varnish
- Size: 69.3 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Blitz Varnish Purger for Craft CMS
The Varnish Cache Purger allows the [Blitz](https://putyourlightson.com/plugins/blitz) plugin for [Craft CMS](https://craftcms.com/) to intelligently purge cached pages on connected Varnish servers.
## Usage
Install the plugin using composer and then install it.
```
composer require statikbe/craft-blitz-varnish
php craft plugin/install blitz-varnish
```
You can then select the purger and settings either in the control panel or in `config/blitz.php`.
```php
// The purger type to use.
'cachePurgerType' => 'statikbe\blitzvarnish\VarnishCachePurger',
```
## Using Varnish Cache with Craft CMS
How to configure Varnish Cache to work with Craft CMS and your specific project is beyond the scope of this plugin.
You can find a basic example configuration [here](https://github.com/statikbe/craft-blitz-varnish/blob/main/example.vcl).
Created by [statik.be](https://www.statik.be).