Hide the admin 'One or more of the Cache Types are invalidated' using a plugin
This warning can show for all kinds of reasons and generally can be ignored
composer require dominicwatts/hidecachewarning
php bin/magento setup:upgrade
Console command to invalidate cache. Or just wait for Magento do it for you.
php bin/magento xigen:hidecachewarning:generate [-c|--cache CACHE]
xigen:hidecachewarning:generate -c block_html
Before install
After install