Skip to content

Page 500 is slow, and page 2 skipped a row

An API paginates with ORDER BY created_at LIMIT 20 OFFSET ?. Deep pages are slow, and users occasionally see a row twice or miss one entirely.

What fixes both problems?