Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7703565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:29:18+00:00 2026-05-31T23:29:18+00:00

I am using custom fonts in my website. I could use a local font

  • 0

I am using custom fonts in my website. I could use a local font file:

src: local('Ubuntu'), url('fonts/ubuntu.woff') format('woff');

or just use google’s:

src: local('Ubuntu'), url('http://themes.googleusercontent.com/static/fonts/ubuntu/v4/_xyN3apAT_yRRDeqB3sPRg.woff') format('woff');

Which would be faster, considering page load time?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:29:20+00:00Added an answer on May 31, 2026 at 11:29 pm

    I set up a GAE app with two test pages, one using Google Web Fonts and one using a local file. I made sure there was no caching and recorded how long it took each page to load. This was repeated 20 times on Chrome.

    Results

    • Average load time (Google Web Fonts): 486.85 ms
    • Average load time (Local file): 563.35 ms

    enter image description here

    Code

    fonts-google.html

    <!DOCTYPE html>
    <html>
        <head>
            <title>title</title>
            <link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
            <link href='both.css' rel='stylesheet' type='text/css'>
        </head>
        <body>
            <h1>This is a heading</h1>
        </body>
    </html>
    

    fonts-local.html

    <!DOCTYPE html>
    <html>
        <head>
            <title>title</title>
            <link href='fonts-local.css' rel='stylesheet' type='text/css'>
            <link href='both.css' rel='stylesheet' type='text/css'>
        </head>
        <body>
            <h1>This is a heading</h1>
        </body>
    </html>
    

    fonts-local.css

    @font-face {
      font-family: 'Ubuntu';
      font-style: normal;
      font-weight: normal;
      src: local('Ubuntu'), url('ubuntu.woff') format('woff');
    }
    

    both.css

    h1 {
      font-family: 'Ubuntu';
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I made a website with custom fonts embedded on the website using font-face. The
Is there a way to add some custom font on a website without using
I'm trying to spice up my website by using custom fonts for headings. For
I'm using custom fonts on my webpage using the following code: @font-face { font-family:
I've been having a lot of difficulties with using custom fonts and @font-face .
CSS has a @font-face rule which allows us to use custom fonts. Does JavaScript
Hi am using webview ,i need to use custom font(verdana.ttf) how can i do
When working on my website www.monkey-touch.com I started using a custom font for the
I am using css font import property for a custom font to use in
I am interested in adding a custom font to a php website using an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.