tusker Posted March 8, 2012 Share Posted March 8, 2012 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! 0 Quote Link to comment Share on other sites More sharing options...
wsd Posted March 10, 2012 Share Posted March 10, 2012 (edited) Hi, Remember to fix it in the CSS so there are set a font I would hope not because I have done the same http://forum.whmcs.com/showpost.php?p=206635&postcount=294 http://forum.whmcs.com/showpost.php?p=207704&postcount=343 Edited March 10, 2012 by wsd 0 Quote Link to comment Share on other sites More sharing options...
tusker Posted March 11, 2012 Author Share Posted March 11, 2012 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. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 11, 2012 Share Posted March 11, 2012 The CSS will default to another font if Ubuntu isnt available. Ubuntu looks nothing like Sans Serif, I'm not sure where you got that idea. http://font.ubuntu.com/ http://thinkdesignblog.com/wp-content/uploads/image/1-museosans.jpg 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted March 11, 2012 Share Posted March 11, 2012 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). 0 Quote Link to comment Share on other sites More sharing options...
DavidBee Posted March 11, 2012 Share Posted March 11, 2012 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. 0 Quote Link to comment Share on other sites More sharing options...
laszlof Posted March 12, 2012 Share Posted March 12, 2012 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. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.