simbo / OptimizedWebfontLoading

Having optimal pagespeed but still loading webfonts

Home Page:http://bdadam.com/blog/loading-webfonts-with-high-performance.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Having optimal pagespeed but still loading webfonts

http://bdadam.com/blog/loading-webfonts-with-high-performance.html


Languages

Language:HTML 98.9%Language:JavaScript 1.0%Language:Shell 0.1%