Page 1 of 1

FONT AWESOME

Posted: Thu Jul 04, 2019 6:37 pm
by laros
When i click to "Page weight" I see that :

- "fontawesome-webfont.svg" is 434kb
- "MaterialIcons-Regular.svg" is 276kb
- "index.css" is 179kb
- "fontawesome-webfont.ttf" is 162kb
- "fontawesome-webfont.eot" is 162kb
- "MaterialIcons-Regular.eot" is 140kb
- "FontAawesome.otf" is 132kb

and so on...

Since the competitors we are competing with has the whole page weight of 200-300kb i would like to ask is it possible to lower those numbers?

Best regards

Re: FONT AWESOME

Posted: Thu Jul 04, 2019 7:49 pm
by Pablo
The fonts will only be included if you use them.
If you only use a single icon then you can set the output format to SVG

Re: FONT AWESOME

Posted: Thu Jul 04, 2019 8:05 pm
by laros
Pablo wrote: Thu Jul 04, 2019 7:49 pm The fonts will only be included if you use them.
If you only use a single icon then you can set the output format to SVG
I use few of them at the top of the page as a part of the menu.
What does the SVG do to the single icon? I mean how does it solve the problem? I am not that familiar with this, never done it yet.

Re: FONT AWESOME

Posted: Thu Jul 04, 2019 8:10 pm
by Bluesman
laros wrote: Thu Jul 04, 2019 8:05 pm
Pablo wrote: Thu Jul 04, 2019 7:49 pm The fonts will only be included if you use them.
If you only use a single icon then you can set the output format to SVG
I use few of them at the top of the page as a part of the menu.
What does the SVG do to the single icon? I mean how does it solve the problem? I am not that familiar with this, never done it yet.
If using only one or a few "Font Awesome" and you publish them as single SVGs, you only get single file for each symbol. Reduce the downloading time... when using as font (standard) the whole Font Awesome font is downloaded... takes more memory and time.