Can Laravel Sail only handle one request at a time?
Hello, I am currently building a Dashboard that performs multiple "fetch()" requests to the server to get data for the different charts. I am developing locally with Laravel Sail under Windows/WSL.
Looking at the Chrome DevTools Network Waterfall it looks like all requests get sent at the same time but the Laravel server only handles them one after the other and thus they load relatively slow.
Does Laravel Sail only handle one request at a time? It it only running on one Kernel Thread? Is there a way to allow multithreading multiple requests?
Laravel sail uses php artisan serve under the hood instead of a real webserver, so it can only handle 1 request at a time. You can perhaps use octane to get around it (or pick another docker stack)