In the WordPress world it's common to hear that your theme should control the look & feel of your site and plugins should control the functionality. That's always been a best practice in WordPress. But it's even more important when you start considering speed.