1. Go to this page and download the library: Download aerni/dynamic-cache 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/ */
aerni / dynamic-cache example snippets
return [
/*
|--------------------------------------------------------------------------
| Field Handle
|--------------------------------------------------------------------------
|
| Define the name of the field handle you would like to use.
| Default: 'exclude_from_static_cache'
|
*/
'handle' => 'exclude_from_static_cache',
];