You are here:  » Pagespeed insights (foundation-icons.woff .svg & .eot)


Pagespeed insights (foundation-icons.woff .svg & .eot)

Submitted by APZ215 on Fri, 2019-03-01 12:46 in

Hello David,

I am using https://developers.google.com/speed/pagespeed/insights/ to get a better page speed result.

These files don't look necessary to me...
- foundation-icons.woff 31.27 KB (32,020 bytes)
- foundation-icons.svg 147.01 KB (150,535 bytes)
- foundation-icons.eot 53.29 KB (54,568 bytes)

If i delete those 3 files i don't see any difference on the website...

Question: Do we really need those 3 files?

Greetings Arlo

Submitted by support on Sun, 2019-03-03 10:26

Hi Arlo,

vendor/foundation-icons.css references different versions of the font and the browser decides which to download based on the supported formats.

If you'd prefer not to use the icons they could be replaced easily with utf-8 equivalents - you can identify them throughout the html/ files with fi- class prefix for example in html/product.php:

<i class='fi-shopping-cart'></i>

...could be replaced with just

&#x1F6D2;

...to use the unicode character instead.

HTML arrows e.g.

&darr;

for the down arrow could replace the fi- equivalents in html/shoppinglistitems.html...

Cheers,
David.
--
PriceTapestry.com