Recently I have been paying attention to the performance of the website, so I saw that some websites compressed the css code together, which is very compact.
I also tried it. I have two css files. One is 15k and the other is 16k. The total size is 31k.
After I merged it into one file, I compressed the code in Together, when saved and viewed, it is 28k
After testing, I feel that the difference is not very big. Is the effect of your compression great?
I also want to compress the js code too?
How did you test? Personal testing will not make much sense. If your website has a lot of traffic, then The effect is detailed
Merge files, reduce http requests
Clear spaces and newlines, reduce file loading size.
Doesn’t mean much to me,