Page 2 of 2
Posted: Mon Apr 25, 2016 6:42 am
I should know more tomorrow.
Posted: Mon Apr 25, 2016 7:43 am
I didn't have webkit version of Opera installed, but based on CanIUse, I suspect it probably works there too.
Posted: Mon Apr 25, 2016 8:06 am
Thanks Rick! I think I'm going to start using rel="preload" on my site for a typeface........ as soon as I get to it.
Posted: Tue May 03, 2016 11:10 am
There's a bug with rel=preload in Chrome (which should be fixed any day now) where the style sheet is loaded twice, just a performance problem.
There's also a bug that affects IE8 (you see the print style sheet) if you use the LoadCss script with it. That one does concern me and I've rolled back my code, hoping for a quick fix. (A print style sheet for me means no menus.)
Otherwise I'm enjoying about .2 second performance increase using this and a similar increase by using async defer on pages with only one external script. (IE8/9 can't use async, which is why I use both)
I currently have the external script (with async defer) in the head but the inline script that loads the post-loaded external css at the bottom (to prevent requiring multiple round trips to load the visible area). They suggest adding that to the head as well so I'll have to see if there's any benefit to having that script in the head. https://github.com/filamentgroup/loadCSS