In my local host magento 2 running very fast but due to some reason i delete some files and module and then its speed becomes very poor and it takes approx 3 or 4 minutes loading its home page.

  • 1
    Which files have you deleted, what are you overwriting? Tell us more... – Raül Jul 26 '18 at 8:02
  • some modules file and plugins – Wahaj Moin Jul 26 '18 at 8:02
  • It is always best to disable a module, run setup:upgrade and then delete the module otherwise a lot of redundant broken links/connections may remain. – Cold Fridge Jul 26 '18 at 8:21
  • now what will i do? – Wahaj Moin Jul 26 '18 at 8:33
  • Have you ran setup:upgrade, s:d:c, s:s:d? if not run them in that order perhaps it may help. 1) bin/magento setup:upgrade, bin/magento s:d:c, bin/magento s:s:d Good luck! – Cold Fridge Jul 26 '18 at 9:03

If you suddenly find that your Magento is massively slow after installing or updating a module, it might be this known bug where composer update turns off all your cache!


I know that this happens to me about once or twice a month. I now know to immediately go into command line and run php bin/magento cache:status and I will see that all my cache is set to 0. Then I run php bin/magento cache:enable and go on with my day.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.