---
title: "Discussion on \"The Day Offset Pagination Broke My App (And How Cursor Pagination Saved It)\" | Hashnode"
description: "Discussion on \"The Day Offset Pagination Broke My App (And How Cursor Pagination Saved It)\". Today, I was working on a new feature and asked an AI assistant to generate some pagination code for my Node.js backend. It gave me the classic OFFSET and LIMIT approach.\nIn development, with just 100"
url: "https://hashnode.com/posts/offset-vs-cursor-pagination/6a5e35b576f105d51c94778e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Day Offset Pagination Broke My App (And How Cursor Pagination Saved It)](https://engineer-at-caffeine.hashnode.dev/offset-vs-cursor-pagination?utm_source=hashnode&utm_medium=feed)

Today, I was working on a new feature and asked an AI assistant to generate some pagination code for my Node.js backend. It gave me the classic OFFSET and LIMIT approach. In development, with just 100

Jul 20 · 6 min read · engineer-at-caffeine.hashnode.dev  
Read the article

## Written by

[Kartikey Bhatnagar](https://hashnode.com/@kartikey2004)

@kartikey2004

  
[View profile](https://hashnode.com/@kartikey2004)

Code Speaks. I Write.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
