← All tasks
🔍
Programming Beginner

Fix an N+1 Query in a Blade Loop

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line causing an N+1 query problem when rendering a post index.

Scenario

The post index page is firing over 100 queries for only 50 posts.

Ready to try it?

Create a free account and try "Fix an N+1 Query in a Blade Loop" free for 7 days, no card required. Earn 120 XP and track your internship progress.

Already have an account? Sign in