From Dev.to
This page sends 51 queries. On my laptop that takes 2 ms.
A blog home page. The 50 newest posts, each with its author's name: const posts = (await db.query( "SELECT id, title, author_id FROM posts ORDER BY created_at DESC LIMIT 50" )).rows; for (const pos...
