Jump to content

fonts.googleapis.com


tusker

Recommended Posts

Hello,

 

I've removed

@import url("https://fonts.googleapis.com/css?family=Ubuntu:500,700"); 

from /templates/default/css/whmcs.css because it terribly slowed down the loading times of the site.

 

Will I now burn in hell? ;) IOW, do I have to expect any unwanted side effects because of this?

 

Thank you!

Link to comment
Share on other sites

Hi wsd,

 

I simply deleted the line from the CSS.

 

I wonder what's the idea behind this. The ubuntu font looks no different than the default sans-serif. The only thing is that there is no work flow anymore, because you can have a cup a of coffee now until any side loads.

Link to comment
Share on other sites

As mentioned by others you'll need to update the font for some styles (the headings h1, h2, h3, h4, h5, h6). Once that's done you won't see any problems with doing so but the benefit faster page load.

 

Although I use a Google font I will admit that the slight delay while the font loads is a bit annoying. You can speed it up slightly more if you save the font and CSS locally rather than loading from Google (assuming the visitor's browser hasn't cached the font previously).

Link to comment
Share on other sites

As mentioned by others you'll need to update the font for some styles (the headings h1, h2, h3, h4, h5, h6). Once that's done you won't see any problems with doing so but the benefit faster page load.

 

Although I use a Google font I will admit that the slight delay while the font loads is a bit annoying. You can speed it up slightly more if you save the font and CSS locally rather than loading from Google (assuming the visitor's browser hasn't cached the font previously).

 

I would have to totally agree with you here. Most people tend to forget the can you host the font locally instead of looking up and resolving another domain to call the font.

Link to comment
Share on other sites

I would have to totally agree with you here. Most people tend to forget the can you host the font locally instead of looking up and resolving another domain to call the font.

 

meh, every request has to resolve one way or another, whether its your server or googles. The only difference will come into play with caching. Obvious the DNS cache will come into play, but thats typically not a substancial increase in speed. The majority of the delay is going to be from serving the actual content. Users are far more likely to have the google font cached rather than your own site.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated