Two-phase render

last updated: May 29, 2024

https://brandur.org/two-phase-render

A nice document describing a pattern for avoiding n+1 queries in web applications.

Examples are given in golang, but the pattern is usable anywhere.

↑ up