News for hackers. Stuff that matters.
Re:Cloudflare was down by ci5er on Friday July 17, 2020 @06:48PM (#23876900)
Unlike Reddit, logged in and logged out users largely see the same thing. I wouldn't imagine there is much logic involved in serving personalized pages, when they don't care who you are.
Re:Cloudflare was down by viraptor on Friday July 17, 2020 @07:36PM (#23877319)
The username is embedded in the page, so you can't do full caching unfortunately. But the whole content could be easily cached and concatenated to header/footer.
Re:Cloudflare was down by tylerhou on Friday July 17, 2020 @09:24PM (#23878105)
You also can't do that every time because of hidden, flagged, showdead, etc.
Re:Cloudflare was down by viraptor on Friday July 17, 2020 @10:56PM (#23878517)
That could be split as a setting in the user-specific header with the visibility part handled client-side. A bit more work, but it's not impossible if it's worth it.
Re:Cloudflare was down by ci5er on Friday July 17, 2020 @07:40PM (#23877354)
Oh! I have never looked an HN frames, etc., but I assumed the header was separate. Thank you!