Friday 16 December 2016

How to optimise magento2 site?

To merge and minify JavaScript and CSS files on Magento 2, follow these steps:

    Log in to Magento using your administrator account.

  1.    On the left sidebar, click STORES, and then under Settings, click Configuration.
  2.    Cilck ADVANCED, and then click Developer.
  3.    Click JavaScript Settings, and then in the Merge JavaScript Files list box, select Yes.
  4.    In the Minify JavaScript Files list box, select Yes.
  5.    Click CSS Settings, and then in the Merge CSS Files list box, select Yes.
  6.    In the Minify CSS Files list box, select Yes.
  7.    Click Save Config.

No comments:

Post a Comment