Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Plugins by

I've minified my JS script with uglifyjs. Now I can reduce the script's size further by changing the encoding from UFT-8 to iso-8859-1 from bananascript.com. Does this increase or affect performance? Such as parsing time. Is it compulsory to mention <script type="text/javascript" charset="iso-8859-1"> ?

I'm obsessed with website speed.

It’s not clear exactly what their tool does, but it’s possible that it decreases performance because it needs to be decoded somehow.

Why don’t you try it yourself and see if it helps performance?
I checked top websites and all of them seems to use only the minified version. None of them has iso-8859-1 charset version. So, I just stick with the minified one. But it also has to be noted many of them are also fails to adapt other optimization techniques.
Q2A uses @font-face CSS in the head right? You can add this attribute:- font-display: fallback;

@font-face {
 font-family: "Ubuntu"; font-style: normal; font-weight: 700; font-display: fallback;

What it does is, it loads the browsers default font first and switch to the font from CSS when it gets loaded.

It just makes the website a few milliseconds faster I guess.

Please log in or register to answer this question.