Get the latest tech news

How I fixed my blog's performance issues by writing a new Jekyll plugin


💡 If you don't want to read the full story, you can check out the jekyll-skyhook plugin on GitHub here.

So I fixed this issue by using justinribeiro/lite-youtube from Google's list of recommended libraries, although I made a PR because it doesn't automatically load thumbnails for playlists like how YouTube's default embed does. Nowadays, Rails has made the wise decision to embrace JavaScript/Node tools for processing assets, and dramatically shrink Ruby's role. Amusingly, some of the only remaining issues are from external Google assets that I have no control over, like cache headers and unoptimized image formats on YouTube thumbnails:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of performance issues

performance issues

Photo of plugin

plugin

Photo of blog

blog

Related news:

News photo

Wuchang: Fallen Feathers studio acknowledges performance issues, patch on the way

News photo

What I'm working on – at work and on the side – aswin's blog

News photo

IO Interactive is "working on some of those Nintendo Switch 2 performance issues right now"