It's just query for your authenticated user Auth:user() or auth()->user()
Jun 1, 2020
3
Level 2
same Query is running on every GET request
Hello artisans,
I am developing one application with Laravel Nova. and debugging it with Laravel telescope. But all of sudden page load time increased. quick look as telescope reveals that every GET (including styles and scripts ) request is querying 'select * from users where id = 3 limit 1'. here 3 is logged in users. In single page load sql query is running hundreds of time depending on styles and scripts. how can I find what is triggering this query?
Please or to participate in this conversation.