Skip to content

Reduce amount of web fonts included (page performance!) #55

Description

@fhemberger

I just noticed we include all font styles of Source Sans Pro, which has a heavy impact on page performance:

<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,200,200italic,300,300italic,400italic,600,600italic,700,700italic,900,900italic" rel="stylesheet" type="text/css">

At the moment we use the widths 300 (default text), 500 (headlines), and 700 (for bold). Maybe we could get rid of the latter as well.

Activity

  1. mikeal commented on Aug 28, 2015

    @mikeal
    Contributor

    I use 400 on the front page as well. The bolds and italics could be used by any markdown page in whatever weight we’ve set that to by default as well. I’m all for trimming it down I’m not just 100% sure all the weights and combos we’re using right now.

    On Aug 28, 2015, at 1:11AM, Frederic Hemberger notifications@github.com wrote:

    I just noticed we include all font styles of Source Sans Pro, which has a heavy impact on page performance:

    At the moment we use the widths 300 (default text), 500 (headlines), and 700 (for bold). Maybe we could get rid of the latter as well.

    —
    Reply to this email directly or view it on GitHub #55.

  2. ShashankaNataraj commented on Sep 2, 2015

    @ShashankaNataraj

    Just observed this when I viewed source. Was about to report an issue on this and stumbled on this one :)

    May I investigate this issue and possibly fix it? I could check what weights are being used in the page right now and report back.

  3. fhemberger commented on Sep 2, 2015

    @fhemberger
    ContributorAuthor

    We already removed the 200, 600 and 900 widths, and font caching is addressed in #69. I didn't have enough time to test it before launch.

  4. ShashankaNataraj commented on Sep 2, 2015

    @ShashankaNataraj

    Ah, ok.

  5. fhemberger commented on Sep 7, 2015

    @fhemberger
    ContributorAuthor

    This will be fixed by #98.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions