Additional code to run when cache is busted(entry added/updated, etc)
Sounds like a custom plugin or module would work for you here, allowing you to hook into the entry after save event.
use craft\elements\Entry;
use craft\events\ModelEvent;
use yii\base\Event;

Event::on(
    Entry::class,
    Entry::EVENT_AFTER_SAVE,
    function(ModelEvent $event) {
        $entry = $event-&gt;sender;

        if (!$entry-&gt;getIsDraft()) {
            // Make the request to clear caches on the frontend.
        }

    }
);