paulbellamy/mango — pull request #22 by sunfmin (2012-05-28 11:43:22+00:00)
Title: improve performance for not Set-Cookie all the time

1. If session doesn't change, which is most of the case, it should't Set-Cookie all the time.
So that nginx can do proxy cache correctly.

2. Using map for session store make it impossible to compare old cookie and new cookie are the same. because of map are random accessed.