I just install mangento CE 2.1.5 in my laptop. I use XAMPPto host mangeto. My laptop is i7 processor, 8G RAM. I host other websites and visit them, is fast. Howover, when I visit my mangeto website, it let me feel this website is slow. Why? because a lot of images to load? How to solve performance issue?
There are so many ways to optimize your website.
- Use flat catalog model
- Minify js and css
- Optimize the images
- Use gzip compression in .htaccess file, etc.
You can use an online tool to analyse your website. For example - https://gtmetrix.com/
Magento 2 is slow when cache is disabled and it is in developer mode. You can do below two steps to make it faster
- Enable cache from admin (System > Cache Management) if disabled.
- Execute command at root of your Magento 2 installation to move it to production mode.
php bin/magento deploy:mode:set production