djangosnippets.org: Latest snippets posted by TAHhttps://djangosnippets.org/users/TAH/2014-04-28T16:23:10.450013-05:00TAHvary_on_user
2014-04-28T16:23:10.450013-05:00TAHhttps://djangosnippets.org/snippets/3045/<p>@vary_on_user doesn't work properly if your site uses third-party cookies, since the cache key is created from <em>all</em> of the cookies in the request header. This decorator caches pages based on the user ID, so it works reliably.</p>
Freely redistributable