DNS hostname resolution, or the time it takes to translate a domain name to an IP address, is a big bottleneck in web application performance. Each request that results in a DNS lookup means users wait longer for the page to load.
Fortunately, there’s a relatively new HTML5 feature that helps prevent DNS resolution delay called DNS prefetching.
Developer environments are fragile. As the number of tools, servers, and source repositories grows on your laptop, writing code and testing it inevitably becomes more challenging as you switch between projects. Using vagrant, an open-source tool for creating virtualized developer environments, and a customized dotfiles repository, I created a portable, easier-to-work-with developer toolbox.