Blog128.4K views3,692 votes0 replies3,371 following
ProcessWire 3.x: Querying Related Pages Without the N+1 Penalty
ProcessWire makes relational content easy, but looping through PageArrays can trigger N+1 queries. This post shows how ->preload() and ->paginate() keep your templates fast and predictable.