inspector-laravel icon indicating copy to clipboard operation
inspector-laravel copied to clipboard

Slow (and at times Error 504 Timeout) when used with Laravel-Jetstream-Inertia stack in web middleware group

Open syntaxlexx opened this issue 2 years ago • 0 comments

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:

  1. Install anfresh installation of laravel inertia (Jetstream)
  2. Install this package and configure kernel.php as instructed
  3. Refresh page. Slow page response and at times Error 504 Gateway Time-Out occurs
  4. Remove the impoort on the web middleware (thereby leaving it only on the api group)
  5. 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.

syntaxlexx avatar Apr 13 '22 00:04 syntaxlexx