Feature improvements: async, fallback font
-
Add support for async without webfont.js
Suggestion to suggest a matching fallback font of the selected downloaded font for better ux.
Maybe add the option to onload instead of webfont.js? Smaller effect on performance, lighter script and code rows, or what do you think?
onload="this.onload=null; this.rel='stylesheet'; document.body.classList.add('fontLoaded')"Would also like to preload the css file with async.
/wp-content/cache/omgf-webfonts/fonts.cssBetter compatibility with WP asset cleanup and wp rocket?
Better compatibility with oxygen page builder (not using theme so auto-detect fails).Thanks for a great
The topic ‘Feature improvements: async, fallback font’ is closed to new replies.