PHP code example of van-ons / statamic-static-cache-buster

1. Go to this page and download the library: Download van-ons/statamic-static-cache-buster library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

van-ons / statamic-static-cache-buster example snippets


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