PHPackages                             putyourlightson/craft-blitz-cloudfront - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. putyourlightson/craft-blitz-cloudfront

ActiveCraft-plugin[Caching](/categories/caching)

putyourlightson/craft-blitz-cloudfront
======================================

CloudFront cache purger for the Blitz plugin.

5.2.0(1y ago)747.0k↑16.7%6proprietaryPHPPHP ^8.2CI passing

Since Apr 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/putyourlightson/craft-blitz-cloudfront)[ Packagist](https://packagist.org/packages/putyourlightson/craft-blitz-cloudfront)[ Docs](https://putyourlightson.com/plugins/blitz)[ RSS](/packages/putyourlightson-craft-blitz-cloudfront/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (39)Used By (0)

[![Stable Version](https://camo.githubusercontent.com/c09b8b1d70e021d0244a98764f5be067b80e5a451e26040986ccdd41f8697823/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707574796f75726c69676874736f6e2f63726166742d626c69747a2d636c6f756466726f6e743f6c6162656c3d737461626c65)](https://camo.githubusercontent.com/c09b8b1d70e021d0244a98764f5be067b80e5a451e26040986ccdd41f8697823/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707574796f75726c69676874736f6e2f63726166742d626c69747a2d636c6f756466726f6e743f6c6162656c3d737461626c65)[![Total Downloads](https://camo.githubusercontent.com/2dd629235eeba6808b4dcc26a778538a5afcc85abdebd5d962a4b5aa0b0eb9eb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707574796f75726c69676874736f6e2f63726166742d626c69747a2d636c6f756466726f6e74)](https://packagist.org/packages/putyourlightson/craft-blitz-cloudfront)

[![](https://raw.githubusercontent.com/putyourlightson/craft-blitz-cloudfront/develop/src/icon.svg)](https://raw.githubusercontent.com/putyourlightson/craft-blitz-cloudfront/develop/src/icon.svg)

Blitz CloudFront Purger Plugin for Craft CMS
============================================

[](#blitz-cloudfront-purger-plugin-for-craft-cms)

The CloudFront Purger plugin allows the [Blitz](https://putyourlightson.com/plugins/blitz) plugin for [Craft CMS](https://craftcms.com/) to intelligently purge pages cached on [AWS CloudFront](https://aws.amazon.com/cloudfront/).

**Note that Amazon CloudFront charges for invalidation requests. Since invalidation requests can quickly add up when purging individual URLs, you should be aware of the potential costs. PutYourLightsOn takes no responsibility whatsoever for expenses incurred.**

> The first 1,000 invalidation paths that you submit per month are free; you pay for each invalidation path over 1,000 in a month. An invalidation path can be for a single file (such as `/images/logo.jpg`) or for multiple files (such as `/images/*`). A path that includes the `*` wildcard counts as one path even if it causes CloudFront to invalidate thousands of files.

Source: [docs.aws.amazon.com](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#PayingForInvalidation)

License
-------

[](#license)

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

Requirements
------------

[](#requirements)

This plugin requires [Craft CMS](https://craftcms.com/) 3.0.0 or later, or 4.0.0 or later, or 5.0.0 or later.

Installation
------------

[](#installation)

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

```
composer require putyourlightson/craft-blitz-cloudfront
```

Usage
-----

[](#usage)

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

```
// The purger type to use.
'cachePurgerType' => 'putyourlightson\blitzcloudfront\CloudFrontPurger',

// The purger settings.
'cachePurgerSettings' => [
   'apiKey' => 'p_prod_abcdefgh1234567890',
   'apiSecret' => 's_prod_abcdefgh1234567890',
   'distributionId' => '123456789',
   'condenseUrls' => false,
],
```

---

Created by [PutYourLightsOn](https://putyourlightson.com/).

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance46

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~60 days

Recently: every ~3 days

Total

37

Last Release

404d ago

Major Versions

4.1.0 → 5.1.02024-06-25

4.1.1 → 5.1.22024-10-18

4.1.2 → 5.1.32025-03-12

4.1.3 → 5.1.42025-03-19

4.1.4 → 5.2.02025-04-02

PHP version history (2 changes)3.0.0-beta.1PHP ^8.0.2

5.0.0-beta.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/59428c6783d02d74c8778d9953ba84c35d3877ece53f5eb393689c052a9c97e4?d=identicon)[putyourlightson](/maintainers/putyourlightson)

---

Top Contributors

[![bencroker](https://avatars.githubusercontent.com/u/57572400?v=4)](https://github.com/bencroker "bencroker (65 commits)")[![markdrzy](https://avatars.githubusercontent.com/u/868631?v=4)](https://github.com/markdrzy "markdrzy (4 commits)")[![low](https://avatars.githubusercontent.com/u/59516?v=4)](https://github.com/low "low (1 commits)")

---

Tags

amazonawscachecraftcmscloudfrontblitzpurger

### Embed Badge

![Health badge](/badges/putyourlightson-craft-blitz-cloudfront/health.svg)

```
[![Health](https://phpackages.com/badges/putyourlightson-craft-blitz-cloudfront/health.svg)](https://phpackages.com/packages/putyourlightson-craft-blitz-cloudfront)
```

###  Alternatives

[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

153471.5k29](/packages/putyourlightson-craft-blitz)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
