Good afternoon everyone, I'm still a beginner magento developer and I'm planning to put my first store online, but I was using the default mode, and when I set it to production mode everything was extremely slow. When researching most tutorials it says that the production mode is faster than the rest. How is this possible ? is extremely slow, is there any important configuration that should be done?

  • Additional information request, please. Any SSD or NVME devices on MySQL Host server? Post on pastebin.com and share the links. From your SSH login root, Text results of: A) SELECT COUNT(*) FROM information_schema.tables; B) SHOW GLOBAL STATUS; after minimum 24 hours UPTIME C) SHOW GLOBAL VARIABLES; D) SHOW FULL PROCESSLIST; AND very helpful information, includes - htop OR top for most active apps, ulimit -a for a Linux/Unix list of limits, iostat -xm 5 3 for IOPS by device and core/cpu count, for server workload tuning analysis to provide suggestions. Nov 15, 2021 at 1:57

3 Answers 3


Make sure that all the caches are enabled:

php bin/magento cache:enable

If some caches are disabled (especially config cache), then Magento may be working extremly slow even in production mode.

  • is already active, I never deactivate it.
    – lucas
    Nov 12, 2021 at 13:09

Make sure you have Merged/Minified JS and CSS

And Enabled JS Bubndling

also please check speed.


there are two aspects to a site speed:

  1. Server side execution time.
  2. Browser side download time.

For Server side :

  1. Install and use Varnish and make sure that most of the pages are delivered from Varnish cache. There are few other things too that should be done. But this is the most recommended and easiest of all implementation.

  2. Browser side : i) Advance Bundle JS ii) Minimize css and JS load above fold. iii) Optmized images iv) Minimize render blockers. v) Focus on design for above fold. vi) CDN vii) Expire header viii) Reduce payload ix) Alternate fonts.

Specially for Mobile score : you should target JS payload.

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.