Two-phase render

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