Skip to content
KeyCDN cache purger for the Blitz plugin for Craft CMS.
PHP HTML
Branch: v1
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
CHANGELOG.md
LICENSE.md
README.md
composer.json

README.md

Blitz KeyCDN Purger for Craft CMS

The KeyCDN Purger allows the Blitz plugin for Craft CMS to intelligently purge cached pages.

Usage

Install the purger using composer.

composer require putyourlightson/craft-blitz-keycdn

Then add the class to the cachePurgerTypes config setting in config/blitz.php.

// The purger type classes to add to the plugin’s default purger types.
'cachePurgerTypes' => [
    'putyourlightson\blitz\drivers\purgers\CloudflarePurger',
    'putyourlightson\blitzkeycdn\KeyCdnPurger',
],

You can then select the purger and settings either in the control panel or in config/blitz.php.

// The purger type to use.
'cachePurgerType' => 'putyourlightson\blitzkeycdn\KeyCdnPurger',

// The purger settings.
'cachePurgerSettings' => [
   'apiKey' => 'sk_prod_abcdefgh1234567890',
   'zoneId' => '123456',
],

Documentation

Read the documentation at putyourlightson.com/craft-plugins/blitz/docs.

Created by PutYourLightsOn.

You can’t perform that action at this time.