Ask HN: how does HN's pagination work?

3 points by fractalcat ↗ HN
Pure idle curiosity. Whenever I have to paginate through a list of sorted items, I just use page numbers. The param seems to be a hash of some kind, which might allow for things like persistent snapshots, but if so, why do the links expire?

3 comments

[ 6.1 ms ] story [ 12.4 ms ] thread
The parameter looks up a closure ("fnid" means "function ID") in a hash/dictionary/whatever. When memory runs low, some (all?) of them get pruned. Hence, links expire.

I don't think it's a good architecture.

(comment deleted)