Are you using Windows? Vagrant on windows is very slow
Long boot-time with Homestead in Laravel 5
I'm currently making a new laravel-app and use homestead as my local server. However, the application boot time seems really off. Even when I just had a normal, clean Laravel-5 installation it wasn't that much better. I am always between 1-2s for a single site load. Doing a few ajax-requests here and there, it seems like it's taking forever.
This is a Debugbar-Screenshot of my current application:

Even 20 database queries only take up to 5ms in total. For my service providers I only used Debugbar, Sentinel, Bugsnag and HashIds - so nothing too mayor. Even when I had Bugsnag turned off the boot-time was almost the same; very slow.
Running artisan optimize and route:cache did not help with the loading time at all (even though I am using a lot of route controllers, which should have slowed things down).
Any ideas? Cheers!
Okay, I finally fixed this by changing my Homestead.yml to this:
folders:
- map: ~/Development/Websites
to: /home/vagrant/www
type: nfs <-- This is important
After that, just do a homestead halt, homestead provision and homestead up. That should be it!
If NFS should give you errors, this might be helpful: https://coderwall.com/p/uaohzg/use-nfs-to-speed-up-your-vagrant
Please or to participate in this conversation.