Skip to content

putyourlightson/craft-blitz-f5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blitz F5 Purger for Craft CMS

The F5 Purger plugin allows the Blitz plugin for Craft CMS to purge pages cached on F5’s Distributed Cloud CDN.

License

This plugin requires a free commercial license available through the Craft Plugin Store.

Requirements

This plugin requires Craft CMS 5.0.0 or later.

Installation

To install the plugin, search for “Blitz F5 Purger” in the Craft Plugin Store, or install manually using composer.

composer require putyourlightson/craft-blitz-f5

Usage

Once installed, the F5 Purger can be selected in the Blitz plugin settings or in config/blitz.php.

// The purger type to use.
'cachePurgerType' => 'putyourlightson\blitzf5\F5Purger',

Note that when purging multiple cached pages, only a single URI with a wildcard character after the longest common prefix is sent. This helps reduce the number of API requests made to the F5 CDN.

For example, if the URIs are:

  • /foo/bar
  • /foo/qux/baz

Then only a single API request will be sent with the URI pattern /foo/*.


Created by PutYourLightsOn.