Magento 2 Page Speed Optimization Techniques

magento2magento2.2optimizationpagespeedperformance

Please provide me the suggestion regarding magento 2 store speed up?
I already set the minified js and css from the admin panel.

Also find too many request in the browser, how can we reduce server request in magento 2.

Please explain how magento 2 caching work?

Best Answer

Firstly you if want good magento pagespeed, the store must be set to production mode using following command;

php bin/magento deploy:mode:set production

Now, for caching you can use magento's default full page cache, which does work as expected for most cases but go with third-party solutions like Redis or Varnish for more performance.

Installing and configuring these third party caches correctly is a long process so not including it here. Redis is relatively simpler to configure. You can follow this tutorial to install redis - https://www.tutorialspoint.com/articles/how-to-configure-and-install-redis-on-ubuntu-linux and to configure it you can use this explanation - https://magehit.com/blog/magento-2-varnish-and-redis-configuration/

How can we reduce server request in magento 2?

You can reduce the number of server requests drastically by bundling js files in admin or by db.

See my answer on how to it using db here - Magento 2.2.5 : Merge and minify js and css

Feel free to ping me in case of any confusion.

Related Topic