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?
there are two aspects to a site speed:
- Server side execution time.
- Browser side download time.
For Server side :
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.
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.