neuroxik Posted April 7, 2013 Share Posted April 7, 2013 (edited) Hey everyone,I've been starting to use @font-face in the last year or so seeing that most major browsers support it now. I usually just use 1-3 fonts max, but most often I include the italics version, bold and italic bold version, which can easily amount to a couple MBs of data minimum (depending on the font). Since I use EOT, TTF, WOFF and SVG to work in most browsers, the filesize augments. I don't want too much bandwidth (and load time) used, especially when it's not absolutely necessary upon the customer's request, so I was wondering : say if Firefox (or any browser) successfully loads the EOT version of the file, will that browser still download all 3 others or it will specifically ignore the rest? If it does ignore the rest (not download them) then bandwidth would be much less of an issue.I know some of you might say "well, bandwidth nowadays...", but I still prefer to keep things minimal by habit. Edited April 7, 2013 by neuroxik Quote Link to comment https://forums.phpfreaks.com/topic/276640-does-font-face-load-all-fonts-in-one-browser/ Share on other sites More sharing options...
rx3mer Posted April 7, 2013 Share Posted April 7, 2013 Most of the browsers will download the font even if its not used. It might be best if you take off the ones that are not used for speed purposes. Quote Link to comment https://forums.phpfreaks.com/topic/276640-does-font-face-load-all-fonts-in-one-browser/#findComment-1423417 Share on other sites More sharing options...
neuroxik Posted April 7, 2013 Author Share Posted April 7, 2013 Most of the browsers will download the font even if its not used. It might be best if you take off the ones that are not used for speed purposes. Thanks! I was hoping this was not the case but now atleast I know. I was going to check my browser cache to see but then again, doesn't mean it's not cached that it hasn't been downloaded. Quote Link to comment https://forums.phpfreaks.com/topic/276640-does-font-face-load-all-fonts-in-one-browser/#findComment-1423432 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.