How to update route cache when saving an entity?
Turns out I just had to chain it to the AccessResult like so:

AccessResult::allowed()-&gt;addCacheableDependency($requested_profile);


Same for forbidden(). Now the 'View' tab is visible appropriately.