Blog

Showing 37–48 of 70 articles

APIs2 min read

Cursor vs offset pagination, part 5

Part 5 looks at what changes when the same technique has to run every day in production. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this marker'. The…

APIs2 min read

Cursor vs offset pagination

Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this marker'. The difference matters as soon as the underlying data changes while you are reading it.

Testing2 min read

Working with CSRF tokens, part 10

Part 10 looks at what changes when the same technique has to run every day in production. Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to a…

APIs2 min read

Cursor vs offset pagination, part 2

For part 2, we revisit the basics with a fresh example and a few lessons learned the hard way. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this…