Current time: 12-10-2019, 04:57 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple requests for same google font
09-08-2016, 09:35 PM
Post: #1
Multiple requests for same google font
Hi,

The waterfall shows 4 instances of the same google font:

URL: http://fonts.googleapis.com/css?family=R...&ver=4.6.1
Loaded By: http://www.workplayfit.com/:7

URL: https://fonts.googleapis.com/css?family=...ed:400,700
Loaded By: http://www.workplayfit.com/:7

http://fonts.gstatic.com/s/robotocondens...EyPo.woff2
Loaded By: http://www.workplayfit.com/:13

https://fonts.gstatic.com/s/robotoconden...gOBg.woff2
Loaded By: http://www.workplayfit.com/:13
Host: fonts.gstatic.com


And in the details:

FAILED - (No max-age or expires) - https://fonts.googleapis.com/css?family=...ed:400,700
FAILED - (No max-age or expires) - http://fonts.googleapis.com/css?family=R...&ver=4.6.1

Can I add a rule that does not load the font multiple times and how can I do this?

I have a similar issue with font-awesome, even though I have dequeued on plugins.

Thank you.

Nyla
Find all posts by this user
Quote this message in a reply
09-30-2016, 01:05 AM
Post: #2
RE: Multiple requests for same google font
Do you have multiple assets handling your webfonts? For example, you might have the google fonts plugin, your theme might also be calling it's own font, etc
Find all posts by this user
Quote this message in a reply
10-03-2016, 11:44 PM
Post: #3
RE: Multiple requests for same google font
Can you share the url or the result ?
It will be a lot easier

Is it this one ?
http://www.workplayfit.com/

I see only two Google fonts loaded
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)