inspector-laravel
inspector-laravel copied to clipboard
Slow (and at times Error 504 Timeout) when used with Laravel-Jetstream-Inertia stack in web middleware group
Describe the bug When used in a Laravel Jetstream with the inertia stack, the page becomes slow and at times results to a timeout error once the middleware is registered under the 'web' group.
To Reproduce Steps to reproduce the behavior:
- Install anfresh installation of laravel inertia (Jetstream)
- Install this package and configure
kernel.php
as instructed - Refresh page. Slow page response and at times Error 504 Gateway Time-Out occurs
- Remove the impoort on the web middleware (thereby leaving it only on the api group)
- No timeout. Works as expected
Expected behavior No error 504 when used with Laravel Inertia
Web (please complete the following information):
- Browser chrome, safari
- Package Version ^4.7
- Laravel 9.x
Additional context Add any other context about the problem here.