Is there a way to optimize web font (.woff) download?

http://agr.wa.gov/

Test results

  1. Is there a way to compress or optimize a web font file (.woff)? It takes the longest to download by far of all assets.

https://en.wikipedia.org/wiki/Web_Open_Font_Format talks about .woff format, which is already highly compressed via zlib.

It’s 47kb - but take note it gets cached so your visitors only get that download that one time. You have it hosted locally and you get a A grade for browser caching. You are loading in just over 2 seconds, you really got no problems. Only 22kb isn’t getting cached out of all of it.

You’ve done a excellent job of optimizing this.

Thanks for the responses, I appreciate it. Even though we’re a medium-sized state agency, I try hard to “do it right”.

Next on the agenda is a redo to a responsive website that is actually accessible and not just hacked together…job security. :slight_smile:

For browsers that support it, woff2 gets 30-40% better compression than woff. You can have the browsers that support it pick woff2 automatically: https://gist.github.com/sergejmueller/cf6b4f2133bcb3e2f64a

Why not try reducing the file size ?

Most people don’t use it all so it can be reduced a fair bit.
Thats what i did here http://www.chambresdhotes.org/
i got it down to 7.5kb but could probably have gone further
test result
http://www.webpagetest.org/result/151203_S1_13H4/

Just been looking randomly and saw this post

chapelier

test result
http://www.webpagetest.org/result/151203_S1_13H4/

I had a look at your results

I saw some moments to improve http://prntscr.com/9k9fl3

1 why dont you get static content from www.[you site] ?
2 Add DNS prefetch for goodle domain in head of HTML

[quote=“chapelier, post:6, topic:9701”]
Why not try reducing the file size ?

Most people don’t use it all so it can be reduced a fair bit.
Thats what i did here http://www.chambresdhotes.org/
i got it down to 7.5kb but could probably have gone further
test result
http://www.webpagetest.org/result/151203_S1_13H4/
[/quote]Nicely done!