3 ms·
It is easier to cache stuff for users who are not logged in as it is the same for everyone. and everyone is looking up on Hackernews at the moment to see what i
by erk__ 6y ago
It is easier to cache stuff for users who are not logged in as it is the same for everyone. and everyone is looking up on Hackernews at the moment to see what is wrong with slack, which is probably the cause of the slowness.
- manquer 6y agoWhile it is true for most applications. HN does not do any customisation of the content. I don't notice I am not logged in until commenting
- tayo42 6y agoYou would cache the rendered html, the front page has your username and points and stuff. The whole page will be unique to you because of that
- tyingq 6y agoThe point count for most articles is consistently lower on a view of the non-logged-in homepage. I assume that means they are cached more aggressively for non-logged-in. There's also the username and karma count in the top-right.
- reaperducer 6y agoWhile it is true for most applications. HN does not do any customisation of the content I don't think that's true. For example, if you hide a thread while logged in, it remains hidden when you return.