Statamic Cache Tracker keeps a record of what items (entries, assets, terms etc) are used in the output of each page, and clears the cache (full or half) for those pages when an item is saved.
Run the following command from your project root:
composer require thoughtco/statamic-cache-trackerYou can also optionally publish the config:
php artisan vendor:publish --tag=statamic-cache-tracker-configDocumentation for this addon is available at https://www.docs.tc/cache-tracker.