|
The tool on the start screen presents us with basic details related to loading time, size, and Yslow result. recommendations on how to speed up the website. They are divided into type (images, CSS, JS, server, content) and priority. Image minification and optimization Optimizing images is one of the basic actions we should perform. There are a few rules to follow here. Firstly ? do not exaggerate with the resolution of graphics. 720p resolution is the upper limit you should stick to. Adjust the resolution to the function, purpose and place of nesting the images.
Secondly ? use the appropriate file extension. I don't think anyone in their right mind publishes photos and graphics in .png format on the website. The best extensions are In addition, try to Phone Number List ompress them in such a way that there is a balance between quality and size. It is worth knowing that compressing the .jpg format to 90% can reduce its dimensions by over 50%. This is a certain limit point, because further compression does not produce very noticeable results. A useful tool for optimizing images is Gzip compression reduces the amount of data that is sent between the server and the user.

The whole process involves compressing specific files on the server and then decompressing them at the browser level. Commonly compressed files are: XML, JS, CSS and HTML. Gzip compression allows you to reduce the weight of HTTP responses by up to 70% and text files by up to 80%. In the apache2 server, gzip compression can be enabled by typing sudo a2enmod deflat in the console. How to use gzip compression? Please remember that turning on compression depends on the server and slightly loads it.
|
|