Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many requests for older versions of Font Awesome #15167

Open
hdodov opened this issue Jun 18, 2019 · 11 comments

Comments

@hdodov
Copy link

commented Jun 18, 2019

Describe the bug
I created a new FA kit and put it in my site. However, when I look at the Network tab of DevTools (with cache disabled), I get bombarded with requests for font files. In my kit, I've set the version to "Latest" but I tried with a specific version too. I get the same results. Aside from slowing down the site, I think it's pointless. At least it could load the specified version first.

Test case
Fiddle. Inside, I've used my own icon kit. If you open DevTools with disabled cache and run the fiddle, you'll see that it loads all versions above 5.0.0 of the brands font.

The second screenshot is from the Network tab in the fiddle I linked. As you can see, it takes about 1.5 seconds to load all fonts and the actual icon appears when it loads the last one...

Expected behavior
FA should load just the font version I've specified.

Screenshots
This happens in my site:
image

This is a waterfall from the fiddle I linked:
image

Version and implementation
Version: 5.9.0
Browser and version: Chrome 75.0.3770.90 (Official Build) (64-bit)

  • SVG with JS
  • Web Fonts with CSS
  • SVG Sprites
  • On the Desktop

Bug report checklist

  • I have filled out as much of the above information as I can
  • I have included a test case because my odds go way up that the team can fix this when I do
  • I have searched for existing issues and to the best of my knowledge this is not a duplicate

@hdodov hdodov changed the title Too much requests for older versions of Font Awesome Too many requests for older versions of Font Awesome Jun 18, 2019

@tagliala

This comment has been minimized.

Copy link
Member

commented Jun 18, 2019

Hi!

Thanks for being part of the Font Awesome Community and for reporting this.

I can confirm, there is definitely an issue with kits and webfonts

@nortonandreev

This comment has been minimized.

Copy link

commented Jun 18, 2019

I have reported this when the Kits have been released and still have not got any response. It is a major issue, as it makes loading the website and icons slower and also a website making too many request is a bad practice, so I will hold on from using the Kits until the issue is fixed.

@robmadole

This comment has been minimized.

Copy link
Collaborator

commented Jul 9, 2019

We'll be looking at kit performance for the free kits soon. @hdodov @nortonandreev can you confirm that HTTP/2 is being used? This should be the case but if not there could be some network-related stuff going on.

@tagliala

This comment has been minimized.

Copy link
Member

commented Jul 9, 2019

@robmadole the protocol in the fiddle is h2

image

@hdodov

This comment has been minimized.

Copy link
Author

commented Jul 9, 2019

@robmadole yep. I use the kit here. You can see for yourself.

@haideralipunjabi

This comment has been minimized.

Copy link

commented Jul 11, 2019

Facing the same issue with my kit. Has a huge effect on icon loading time

@dabasti

This comment has been minimized.

Copy link

commented Jul 16, 2019

Any updates on this? Can confirm the same issue, also using HTTP/2.

@nortonandreev

This comment has been minimized.

Copy link

commented Jul 30, 2019

Still not fixed in version 5.10.

@PropreCity

This comment has been minimized.

Copy link

commented Jul 30, 2019

I'm disappointed, it's a big waste of time for me because the kit was supposed to help me improve the loading time of my website and make FA automatically up to date. Hope this will be patched quickly.

@nortonandreev

This comment has been minimized.

Copy link

commented Jul 30, 2019

I'm disappointed, it's a big waste of time for me because the kit was supposed to help me improve the loading time of my website and make FA automatically up to date. Hope this will be patched quickly.

Yes, especially as they increased the price and also ditched the student pricing lol.

@Stick97

This comment has been minimized.

Copy link

commented Aug 22, 2019

Happening here too. We will not be using the kits until this is resolved as well. Does anybody know if this is this a problem with the Pro license as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants
You can’t perform that action at this time.