/OptimizedWebfontLoading

Having optimal pagespeed but still loading webfonts

Primary LanguageJavaScript

OptimizedFontLoading

Work in progress

Some example code to show how it can work in real life projects.

More info

Contents of this repository

  • Sample code for font loading
  • Optimized sample code
  • Grunt task for optimized code generation (Uglify)
  • Grunt task for generating CSS files from *.woff and *.woff2 files (coming soon)

Woff2 feature test

Based on the work of Filament Group: filamentgroup/woff2-feature-test

Sample font files taken from: