From Dev.to
Laravel N+1 Query Problem: How to Find and Fix It
When a Laravel page that used to load in half a second suddenly takes four, the cause is very often the same: the N+1 query problem. One query fetches a list, and then your code quietly runs one more...
