Vs merge and compress css, js plug-in -- Bundler & Minifier,
I previously made a lucky draw for a large turntable. Some users reported that the page was not visible due to the fire. I suspect that js loading requests are too slow. Therefore, I am debugging and optimizing the previous page today.
The first thing that comes to mind is to compress and optimize the page js and css. Baidu's vs integrated plug-in does not seem to have good support, I found a satisfactory plug-in vs-Bundler & Minifier.
This vs plug-in: Click me
Plug-in function description:
1. Merge multiple css, js, and html files into a separate file
2. Save the source file and re-combine it automatically.
3. Compress css, js, and html files
And so on... (If I do not use the plug-in, I will not write it. You can refer to the English description of the plug-in)
Usage:
For example, if I have two local js Files, right-click them and you will see the menu Bundle and Minify Files (merge and compress Files)
Then, select the name of the new file (my local file is newtask. js) to automatically combine the two js files into a js file and generate the compressed file.
With the compression of this plug-in, after I replace all the page js with the compressed min. js, the page loading time is reduced from 6 s to 2 s. The effect is quite obvious.
Please give me more comments if there is anything wrong. Thank you! Pai_^