upgrade and flush cache in magento 2 code example
Example: magento 2 command line clear cache
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento cache:disable
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento cache:disable