Why is this important:
Each character weighs one byte (even space or line breaks). In script files, for the convenience of making edits, each function is written on a new line, indentations are made from the edge, empty lines are added between blocks, and so on. It’s not uncommon to see comments, closed pieces of code (left for future use), and so on.
If you check the site in the PageSpeed Insights resource, then this item there has the name "Reduce the size of your JavaScript code."
If you see it, then you need to squeeze it!
What is included in the service:
Compressing files means removing everything unnecessary (even spaces). The files are difficult to understand because they become unreadable, so a separate version of xxxxxx.min.js is created from the xxxxxx.js file. If you need to make edits, you work with the file xxxxxx.js, which is then turned back into xxxxxx.min.js.
- I will create compressed versions of JavaScript files.
- I will write in the site code so that when loading it, not the originals are used, but compressed versions.
It is advisable to order this work after all important modifications. Although all developers and optimizers clearly see which files are involved in loading the site and where changes need to be made.