Having optimal pagespeed but still loading webfonts
JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
src
.gitignore
gruntfile.js
package.json
readme.md

readme.md

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: