Performance Optimizations

Based on #2993.

This actually sped up the build of `jekyllrb.com` quite a bit already. Such simple fixes! Mostly low-hanging fruit.