#1854 - Support keyset pagination

This is a spacer post for a website comment topic. The content this topic relates to: #1854 - Support keyset pagination
See also 'search keys' In Tapatalk implementation.
This is now implemented for forum topics (not in Tapatalk though).

It's only worth doing for result sets with large numbers of records which are actively gone deep into. That could be 'news' or 'activities', but forum topics is by far the most common thing to have the issue.
One problem with this is pagination becomes less user-friendly. IIRC we have to disable the 'last' button when using keyset pagination.

#3185 would be a better approach - and maybe we could even drop what we already have of this feature if we implement that.

EDIT: No, for 2 reasons...
1) actually I was able to implement a hybrid mode, where it does a pre-query to find the keyset ID even if one wasn't provided by URL, which is massively faster than using regular MySQL LIMIT clauses. This is best of both worlds and works great.
2) a background-generated pagination is not going to work for forumview, as each new post would invalidate it (posting in a topic changes the topic order on forumview)

0 guests and 0 members have recently viewed this.