Blog

Showing 25–36 of 68 articles

APIs2 min read

Cursor vs offset pagination, part 6

For part 6, 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…

APIs2 min read

Cursor vs offset pagination, part 8

In part 8 we take the ideas from earlier instalments and apply them to a larger, messier site. Offset pagination asks for 'items 40 to 60'. Cursor pagination asks for 'the next page after this…

Testing2 min read

Working with CSRF tokens, part 3

For part 3, we revisit the basics with a fresh example and a few lessons learned the hard way. Cross-site request forgery tokens are one of the first things that trip up a script trying to log in to…