You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while optimizing the generated css I noticed that by default (if all formats are requested) you generate .woff references before .woff2 in the css file.
From my testing, this leads compatible browsers (current Firefox, Safari, Chrome) to prefer the slightly larger .woff files over the more optimal .woff2.
Therefore I propose to switch the default order. (This is also something that FontAwesome does by the way, which I where I first noticed this).
What do you think?
The text was updated successfully, but these errors were encountered:
Apparently browsers process the list of fonts in-order and stop at the
first supported option. For this reason, it does not make sense to put
WOFF2 after WOFF when generating both, as reported in #21. Instead,
change the order of the 'all' default format to start with WOFF2 and
WOFF, sort the older formats towards the end and change the
recommendation to use WOFF2 and WOFF.
Closes: #21
Hi there,
while optimizing the generated css I noticed that by default (if all formats are requested) you generate .woff references before .woff2 in the css file.
From my testing, this leads compatible browsers (current Firefox, Safari, Chrome) to prefer the slightly larger .woff files over the more optimal .woff2.
Therefore I propose to switch the default order. (This is also something that FontAwesome does by the way, which I where I first noticed this).
What do you think?
The text was updated successfully, but these errors were encountered: