News for hackers. Stuff that matters.
Re:Context-aware HTTP caching (with Varnish) by michaelmior on Wednesday September 26, 2012 @08:18AM (#4575187)
Interesting as I'm not too familiar with Varnish. However it seems to me like it would be easier in many cases to pull out the session ID and then have a simple script which uses that to set the X-Auth-User header since most sites using authentication do so with session cookies.
Re:Context-aware HTTP caching (with Varnish) by asm89 on Wednesday September 26, 2012 @06:04PM (#4578285)
The approach described in the blog post can be used with all sorts of authentication schemes. I used an access token as example, but you could also use the "Cookie" header to get a session id.