I built a project on laravel 5.7, now while developing the project worked just fine as it should,after that i took some time off some other developers worked on it and when i came back i had this weird issue of extremely slow response time, now the code works fine on live environment, but on localhost i face extreme slow response times, i added laravel debugger to the project and created a simple route which return "here2" it took more than 30s please view the screen shot
i was working with WAMP stack when i faced this issue, i basically had two issues artisan commands taking long time to respond and the code itself, when i shifted over to LAMP stack, i was amazed the two issues i mentioned above was replicated exactly the same in Ubuntu, i though it might be an OS, but its not,
i even installed a fresh copy of laravel alongside this project and that works just fine,
i tried every possible command out their to resolve this issue like
composer dump-autoload
php artisan cache:clear
php artisan config:clear
php artisan route:clear
php artisan config:cache
php artisan route:cache
php artisan optimize
i even deleted vendor and there-installed it but the issue remains the same, i did R&D on it for days but still couldn't find a solution, can anyone help me out?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire