I just uploaded my project to my hosting provider and the database queries executed via Eloquent are very, very slow.
For example, this controller return a list of businesses:
$business = Business::all();
return Response::json($business);
This query takes about 2-5 seconds but via localhost it only takes 0.112ms (approximately).
I did some tests with the native MySQl driver packaged with PHP and the queries execute very fast.
So, what is wrong? Does my hosting provider not support Laravel?