4 ms·
Who cares if the votes are say 1 minute out of date? Even caching a 2000 comment thread for a minute would significantly speed up that page.
by gridspy 16y ago
Who cares if the votes are say 1 minute out of date?
Even caching a 2000 comment thread for a minute would significantly speed up that page.
- jonknee 16y agoI think it would be confusing to post a comment and have it disappear after a refresh. Same for votes.
- jemfinch 16y agoThe page would be regenerated on each new comment, of course. Votes should be done the same way friends' lists are: on the client side, via javascript. The cached page with its comments would include Javascript to grab the most current scores for all its posts (one request) and modify the DOM appropriately.