1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wordpress User: Stop Using Google fonts.

Discussion in 'White Hat SEO' started by BlackHatRael, Dec 4, 2014.

  1. BlackHatRael

    BlackHatRael Junior Member

    Joined:
    Jun 13, 2013
    Messages:
    168
    Likes Received:
    123
    I was in a obsessive quest to optimize the speed of my website and finally decide to learn HTML and do my website myself.

    During this adventure I happen to fall on some call from my website (wordpress cms) to google for a font.... Hell no.

    Issue:


    • privacy and security (Google knows about each page view)
    • local development or production (no or limited Internet access)
    • availability of Google?s servers (some countries block access to Google)
    • language support (these fonts have limited characters support)
    • performance (Google?s servers are hit on each page view)

    Solution can be:

    - Disable Google Fonts wordpress plugin.

    - Coding yourself and switch to HTML website.

    Sources:

    Answer is easy. You can turn off (remove) Google font Open Sans by simple, lightweight plugin. Plugin is called Disable Google Fonts. Author of this utility is Milan Dinić. His solution has no settings. Disable Google Fonts works immediately after activation.


    [​IMG]
    Why disable Google fonts?

    I don?t understand why Wordpress developers placed fonts.googleapis.com into WP core. Because aesthetics? I do not consider it to be valuable enough. Change of font is small and I do not need super beautiful fonts in admin interface.
    [​IMG]
    Where's the value?
    I prefer practical fonts. Sans-serif take less space than Google?s Open Sans and it renters faster. GOS has also limited character support. Too many languages are simply not displayed correctly (Vietnamese, Czech Slovak language).
    Privacy matters

    I don?t wanna to let Google spy on me even during administration. Every time site is loaded Google knows it and stores my IP address, my geographical locations and other sensible data. I think this is main reason why WP developers agreed and build Google tracking in. It can be subject of some king of compensation scheme (I don?t like this idea).
    Performance counts

    Too many server requests can make site slow. In core should be just necessary code and ?nice font? certainly does not fulfill this condition.
    Removing Google font Open Sans speeded up my Wordpress site a little bit. It?s kind of strange, because Google has good content delivery network (CDN) but I can feel that speed of the installation went up.
    In conclusion about Google fonts in WP core

    I would like to close this copy with idea, that every problem has a solution. Solution of Open Sans problem in Wordpress is Disable Google Fonts plugin.


    HTML:
    http://www.jasom.net/how-to-disable-google-font-open-sans-in-wordpress-3-8
    Check this out too:

    HTML:
    http://fontfeed.com/archives/google-webfonts-the-spy-inside/
    HTML:
    http://www.feedthebot.com/pagespeed/webfonts/nofont.html
    HTML:
    https://make.wordpress.org/core/2013/11/11/open-sans-bundling-vs-linking/
     
    • Thanks Thanks x 4
  2. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,112
    Likes Received:
    28,546
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
    Did you do any before and after speed tests?
     
  3. WPRipper

    WPRipper Supreme Member

    Joined:
    Mar 24, 2010
    Messages:
    1,377
    Likes Received:
    1,493
    Location:
    Proudly romanian
    It looks like a small paranoia. Google already knows what you are doing. The only issue I had was with country blocking. As for speed, you have to load the fonts in functions.php with load_fonts() function, not just copy/paste the G code in header.
     
    Last edited: Dec 4, 2014
  4. Tobbe co

    Tobbe co Junior Member

    Joined:
    Sep 29, 2014
    Messages:
    171
    Likes Received:
    139
    How would they know about your site page views and stats if they don't have access to your site? (This only applies if you don't already use GA)
    Is there any documentation of load_fonts() function? I couldn't find any. I don't see why it would increase your site speed by loading it trough a function instead of html in the header.
    If the function doesn't add some javascript and make the end user add the source once the site has already loaded ofc.
     
  5. BlackHatRael

    BlackHatRael Junior Member

    Joined:
    Jun 13, 2013
    Messages:
    168
    Likes Received:
    123
    Yes I do. I just install the plugin and test it with/without it.

    The fact the line calling to font.googleapis is delete make the number of request inferior and thus faster website loading.

    For your font when you the font.googleapis (meaning you install the plugin), your browser use his font by default.
     
    Last edited: Dec 4, 2014
  6. BlackHatRael

    BlackHatRael Junior Member

    Joined:
    Jun 13, 2013
    Messages:
    168
    Likes Received:
    123
    What are you talking about. Read the articles.
     
  7. Gogol

    Gogol Elite Member

    Joined:
    Sep 10, 2010
    Messages:
    3,062
    Likes Received:
    2,872
    Gender:
    Male
    Do you have any cross ref to your claim that google is tracking your site n all? I know google spies but lol this is baseless. Did you face anything from them for having font embedded? Google fonts does indeed have some great fonts which can't be embedded directly due to copyright problems.
     
  8. misteryou.

    misteryou. Power Member

    Joined:
    Feb 1, 2012
    Messages:
    573
    Likes Received:
    109
    congratz for having fired this shit

    there is a big problem with this, i don't understand why they started to use it

    and plus i guess there is less request used, mean surely a little improvement of speed... idk
     
  9. Lordnothing

    Lordnothing Newbie

    Joined:
    Sep 15, 2014
    Messages:
    9
    Likes Received:
    2
    Using the plugin now, great tip.
     
  10. innosoft

    innosoft Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 25, 2008
    Messages:
    1,632
    Likes Received:
    639
    Occupation:
    Software Developer, SEO
    Location:
    Office
    Home Page:
    i do agree with this point. Also it lags sometimes. I downloaded them and uploaded in ftp. now its a lot better.
     
  11. BlackHatRael

    BlackHatRael Junior Member

    Joined:
    Jun 13, 2013
    Messages:
    168
    Likes Received:
    123
    Do you have any cross ref to your claim that google is tracking your site n all?

    No. But I know that anytime you put a social signal of facebook or G+ it register IP and location with the cooperation of your browser unless you use a not typical browser.

    Did you face anything from them for having font embedded?

    Of course not.