van-ons / statamic-static-cache-buster
A Statamic package that expands the standard static cache invalidation.
Requires
- php: ^8.2
- laravel/framework: >=10
- statamic/cms: >=5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- larastan/larastan: ^2.9
This package is auto-updated.
Last update: 2025-09-25 11:02:54 UTC
README
Statamic Static Cache Buster
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.