ChrisTitusTech / website

My HUGO Website that I use for Videos, Blogs, and Redirects
89 stars 45 forks source link

Replace google fonts with bunny fonts #108

Closed digitalsparky closed 1 year ago

digitalsparky commented 1 year ago

I noticed your site is using Google Fonts. In my experience, they do have a habit of slowing things down and blocking requests, plus the extra tracking etc.

Bunny.net have their own fonts CDN that they claim doesn't do tracking, but I can definitely say that it's significantly faster.

Pretty simple patch, already tested and working.

I've attached 2 HARs, one for your current site, one for the updated code which shows the initial CSS request calling to half of its google load time, not to mention the font on top.

I'd have put the .har directly, but GitHub doesn't allow .har files....

ctt-font-change-load-times.zip