After making a change to
Am I required to take some additional steps in order for the change to take effect?
Like clean cache, deploy static files or compile code?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
Yes, you need to recompile after you have done some changes in
di.xml file and then it's a good practice to remove cache too.
php bin/magento setup:di:compile
A nice answer is here for your reference. Hope it will give you a better idea.