Hi there,
Minification preserves important comments and in some cases, important line breaks.
The concept of important, is what each library included decides on… for example, copyright notices.
FVM doesn’t touch the inline JS code (for now) so that is straight from whatever code you add or from whatever plugin is injecting it.
For the few bytes savings on gtmetrix, you can compare both versions and see the differences. It’s probably the comments or some line breaks, which FVM doesn’t remove but gtmetrix does.
Nevertheless, you are talking about a few bytes, which is largely irrelevant for dynamic sites. You could manually improve it further, only if you had a static site, not wordpress based.
Hi,
i am a newbie with wordpress and have installed auto optimise and other cache plugins.
on gtmetrix, I get a score of 98 for both PageSpeed Score as well as YSlow Score.
however under Yslow score under the head ;
Minify JavaScript and CSS I get the score of 90 and the following message:
There is 1 component that can be minified
inline <script> tag #2
How to solve it to score 100.
My website is : http://www.sunderbanhilsafestival.com
GTmetrix :
https://gtmetrix.com/reports/www.sunderbanhilsafestival.com/MdLerLMc
Thanks in advance for any help to solve this.
@sandeepchourasia unfortunately, FVM doesn’t minify inlined scripts, for compatibility reasons (sometimes linebreaks matter).
You would need to minify that code yourself, or contact each plugin author and ask why is their code not minified.
For example:
http://prntscr.com/oiua7g