We all know that Drupal doesn’t do really well under the default shared folder of VirtualBox. When we were given the task of creating a new box for one of our clients, we immediately went with NFS file system to circumvent this issue. We quickly realized two things:
- Vagrant is way faster with NFS enabled (but won’t work on Windows)
- Drupal is still slower reading files using NFS shared folder than using a default LAMP setup on the host directly
Thanks to the newly added feature in Vagrant 1.5, we can now use rsync to sync our shared folder with any Vagrant virtual machine. What does it mean for Drupal local development? A huge performance gain!