Skip to content
v2
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 

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' => '123456789',
],

Documentation

Read the documentation at putyourlightson.com/plugins/blitz.

Created by PutYourLightsOn.

About

KeyCDN cache purger for the Blitz plugin for Craft CMS.

Resources

License

Packages

No packages published