cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan King <r...@twitter.com>
Subject Re: SEO friendly pagination
Date Wed, 25 Aug 2010 18:40:39 GMT
On Wed, Aug 25, 2010 at 11:20 AM, Petr Odut <petr.odut@gmail.com> wrote:
> Hi,
> I've read about pagination in cassandra. My current implementation is
> get_range_slices with startKey = lastKey + 1, but I need to get the
> specified page directly. Is it any chance to do this?
>
> If you look at twitter, it has direct pagination too:
> http://twitter.com/PetrOdut?page=1
> http://twitter.com/PetrOdut?page=2
> http://twitter.com/PetrOdut?page=3

I'm not sure what the SEO implications are of using page numbers
rather than tokens, but (as someone who's worked on Twitter's
pagination code) I'd say to use tokens.

-ryan

Mime
View raw message