Run the following command from your project root:

composer require thoughtco/statamic-cache-tracker

You can also optionally publish the config:

php artisan vendor:publish --tag=statamic-cache-tracker-config

Previous

How it works

Next

Middleware