van-ons/statamic-static-cache-buster

A Statamic package that expands the standard static cache invalidation.

v1.0.0 2025-09-25 10:12 UTC

This package is auto-updated.

Last update: 2025-09-25 11:02:54 UTC


README

Social card of Statamic Static Cache Buster

Statamic Static Cache Buster

Latest version on Github Total downloads Github issues License

A Statamic addon that expands the standard cache validation to invalidate the static cache of all relevant URLs.

Quick start

Requirements

Dependency Minimum version
PHP 8.0
Laravel 10.0
Statamic 5.0

Installation

composer require van-ons/statamic-static-cache-buster

Usage

Once installed, you simply need to use the buster class in Statamic's static cache invalidation configuration:

'invalidation' => [
    'class' => VanOns\StatamicStaticCacheBuster\StaticCaching\Buster::class,
],

And you will immediately get the full power of the static cache busting.

Documentation

Please see the documentation for detailed information about functionality and configuration.

Contributing

Please see contributing for more information about how you can contribute.

Changelog

Please see changelog for more information about what has changed recently.

Upgrading

Please see upgrading for more information about how to upgrade.

Security

Please see security for more information about how we deal with security.

Credits

We would like to thank the following contributors for their contributions to this project:

License

The scripts and documentation in this project are released under the MIT License.

Logo of Van Ons