I run the command php bin/magento
many times a day, so I'd like to know if I can optimize the execution of this one?
For example:
php bin/magento cache:flush
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 communityI run the command php bin/magento
many times a day, so I'd like to know if I can optimize the execution of this one?
For example:
php bin/magento cache:flush
You can improve the memory limit and create an alias as well, like that:
alias mage="php -d memory_limit=-1 -f bin/magento"
Then run the command below in your root installation folder:
mage cache:flush