logo
podcast Podcast
get help Get Unstuck

Considerations when eager loading resource collections

The dreaded N+1 strikes again

Joel Clermont
Joel Clermont
2025-08-22

Performance issues can creep up on you if you're not careful. If we aren't completely diligent at all times, we can end up with a lazy loading query that can seriously impact performance in production.

In today's video, I'll walk through an example with API resources and collections, and how to solve it in a consistent way across your application.

Watch Now (5 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. Want some help reviewing your Laravel code for performance issues? Let's talk.

Toss a coin in the jar if you found this helpful.
Want a tip like this in your inbox every weekday? Sign up below 👇🏼
email
No spam. Only real-world advice you can use.