Hi, after I leave my page attendance for any reason, for example going to create and returning to index from laravel's controller using to_route() my attendance.index freezes. I checked for controller performance, everything is instant there. then I checked network tab and there's some websocket problem.
The blue bar on top of site stays at 99% for some time and the page is unresponsive. This happens only in my attendance.index, nowhere else so far.
How would you debug this?
#Loading freezes on redirect, how to debug?
1 messages · Page 1 of 1 (latest)
Looks like that websocket is just Vite, and as it's a websocket, those connections would remain open
wow, so i found the problem. i realized after one or two saves (hot reload) i had over 800 of these. they are coming from laravel debugbar. i'll reporto to barry
For what it's worth, debugbar does a lot of DOM manipulation, with large responses it's not really effective and blocks rendering. For that reason I've ditched it and gone for Laravel Telescope, with the Telescope toolbar (also from Barry I think)