2 ms·
When you click the 'more' button on the bottom of the list that shows a users posts, it adds a parameter called 'n' to the url. Which contains the number of pos
by TekMol 8y ago
When you click the 'more' button on the bottom of the list that shows a users posts, it adds a parameter called 'n' to the url. Which contains the number of posts on the current page.
The server then seems to use that parameter to output post numbers on the page it returns.
Is that a common pattern? Why not simply count the posts of a user and put out a normally numbered list? Is it for performance reasons?
- brudgers 8y agoUninformed speculation: + "showdead" affects which thirty posts get displayed next. + a user may have added a post since the current page was displayed. + Reverse chronological numbering would require renumbering all posts each time a post is added...or deleted. + No dependency on Javascript when browsing HN.