The sites can be really slow or at least not fast enough. Basically the first thing you can do is to check speed on different metrics and as a result you will get the list of recommendations about how to speed up your site. Not all of them require technical development skills, and can simply be done from the admin panel. In this post I will show you a few simple steps to speed up your Magento 2.0 site using admin panel.
For example, I checked a store on GTmetrix and got the following list of errors:
You can see that among other recommendations, GT Metrix to Minify CSS and Minify JS, Merge CSS and Merge JS and minify HTML.
What does minification mean? Code minification is the process of removing unnecessary characters from the code without changing its functionality. Minifying reduces the amount of code that needs to be transferred = it helps to increase the speed of your side. If you are already working with a development team, please ask them if such measures are necessary. Sometimes, if the JS code is not properly written, minifying can break it.
What is merging? Merging means multiple files with code will be united in one file. And all the requests will be sent to this file only, so merging will reduce the number of requests = speed up your site.
How to minify and merge CSS in the admin panel of Magento 2.0
Navigate to Stores => Configuration => Advanced => Developer and find the CSS Settings section. Click to expand it and select “Yes” for both Merge CSS Files and Minify CSS Files. Press “Save”.
How to minify and merge JS in the admin panel of Magento 2.0
How to minify HTML in Magento 2.0?
In order to Minify HTML, navigate to Stores => Configuration => Advanced => Developer. Click to expand the “Template Settings” section and select “Yes”.
Of course, such measures won’t significantly speed up your site and it won’t get, let’s say, twice faster, but it’s something that you can do without the assistance of a developer.
Andrey studied communications in Belarus and in France. He helps us to build bridges between BelVG eCommerce Development company and its customers. Do not hesitate to get in touch with him about any questions. He can explain you even the most difficult things in a plain and simple manner.
Big Magento happening takes place today in Belarus – Meet Magento Belarus. It is one of plenty local Magento conferences around the world intended to bring Magento developers and marketers, professionals and newbies, robust companies and startups at one place to share Magento knowledge and rediscover the passion for Magento innovations.
BelVG is also presented at the conference with Pavel Novitsky as a spokesperson with the topic “Magento debug process.” If you haven’t got the chance to visit it, don’t worry – we will post the article about its agenda and the most interesting ideas discussed early next week.
Magento security patch SUPEE-6788 released on the 27th of October 2015 fixes more than 10 security problems including remote execution and data leaks. It has been included in Magento 220.127.116.11. Unfortunately, at the same time as adding numerous fixes, it affects several extensions. So the best way to deal with these issues is to make a development copy of your site before installing the patch and install the patch there. You can find our more about it here. (more…)