Laravel 5 homestead – very slow page loading around 2-3 seconds

To fix that, you need to add type of folder mapping to Homestead.yaml config. It should be located in your home directory, like: /home/dev/.homestead/Homestead.yaml


folders:
    - map: ~/Code
    to: /home/vagrant/Code
    type: nfs

http://laravel.com/docs/5.0/homestead
https://github.com/laravel/homestead/blob/master/src/stubs/Homestead.yaml

Leave a Reply

Your email address will not be published.