Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server push woff2 font files to boost performance #70

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

jbmoelker
Copy link
Member

@jbmoelker jbmoelker commented Aug 6, 2019

This change configures the response headers so that Netlify pushes the woff2 font files to improve performance:

Link header

Before (https://spacefinder.netlify.com/en/):

Initial Navigation
└ /en/ (spacefinder.netlify.com)
    └ …fonts/c6f478f.woff2 - 250 ms, 16.08 KB

After (https://deploy-preview-70--spacefinder.netlify.com/en/):

Initial Navigation
└ /en/ (deploy-preview-70--spacefinder.netlify.com)
    └ …fonts/c6f478f.woff2 - 210 ms, 16.05 KB

Benchmarked using Chrome DevTools > Audits on local system.

@jbmoelker jbmoelker marked this pull request as ready for review August 6, 2019 13:44
@GoGoGadgetMusic GoGoGadgetMusic merged commit 2bd08e8 into master Aug 8, 2019
@GoGoGadgetMusic GoGoGadgetMusic deleted the feat/http2-push branch August 8, 2019 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants