News for hackers. Stuff that matters.
Re:Ask HN: Caching pages with login form/"Hi, Bob" components by jkupferman on Saturday September 01, 2012 @10:07PM (#4465893)
37Signals described how they tackled this problem in Basecamp Next (see the "Thou shall share a cache between people" section) http://37signals.com/svn/posts/3112-how-basecamp-next-got-to...

Their solution is similar to #4.

To your concern about disabled javascript, you can still do what they describe but add CSS classes to all elements that would need to be hidden for non-admin/logged in users and just use display:none;

Finally, I would given some serious thought to who the audience is for the application. For most applications the % of users for whom javascript is disabled is so tiny for the amount of work it would require that it is not worth the effort.

There are no comments on this comment yet.