Hacker News new | ask | show | jobs
by ianpri 5019 days ago
Interested in what you mean by annotating the page after caching it, do you have any more info on this?
2 comments

The cached page contains content suitable for everyone, so it looks the the user is logged out.

An extra AJAX request grabs the users logged in status, CSRF token and similar data as JSON and then modifies the page so the user sees what they expect (a logout button, a comment form, etc).

Doesn't that cause content movement?
Essentially talking about edge side includes [http://en.wikipedia.org/wiki/Edge_Side_Includes].