An open API service indexing awesome lists of open source software.

https://github.com/putyourlightson/craft-blitz-f5


https://github.com/putyourlightson/craft-blitz-f5

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Blitz F5 Purger for Craft CMS

The F5 Purger plugin allows the [Blitz](https://putyourlightson.com/plugins/blitz) plugin for [Craft CMS](https://craftcms.com/) to purge pages cached on [F5’s Distributed Cloud CDN](https://www.f5.com/products/distributed-cloud-services/cdn).

## License

This plugin requires a free commercial license available through the [Craft Plugin Store](https://plugins.craftcms.com/blitz-f5).

## Requirements

This plugin requires [Craft CMS](https://craftcms.com/) 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.

```shell
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`.

```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](https://putyourlightson.com/).