How does pagination in urls work nowadays? You'd need ~3 bytes to index a reasonable number of pages naively, no?
But curious what current art is re: performance optimizations between frontend and backend. Or is it simply page indices?
But curious what current art is re: performance optimizations between frontend and backend. Or is it simply page indices?
Here's the fork I created at the time to work around some of these issues: https://github.com/1player/paginator
* https://github.com/duffelhq/paginator/blob/main/lib/paginato...
* https://github.com/duffelhq/paginator/blob/main/test/paginat...
I try to assume someone's thought of better than the best I could, or at least learned the hard way what edge cases need to be handled.