Increase performance by using Eloquent's `setRelation` method
While working on the upcoming Oh Dear redesign, I noticed that list that displays all sites of a team was very slow. To display that list, a lot of queries were used. With a couple of minor adjustments, I could reduce the number of queries...
The internet is full of lies about whether Laravel can scale. Here's the truth.
How to find the slowest query in your application
Is your website slow? does it take ages to load? Are the users complaining that it's almost unusable?. You should check your database queries.