views:

120

answers:

2

Hi,

Somehow the values for in the Cookie change at every request.

As I'm using the auth and session middleware (which add the Vary: Cookie header). I'm not able to cache the pages.

Any hints how I can change this behaviour?

A: 

what are you using for the session backend?

see: http://docs.djangoproject.com/en/dev/topics/http/sessions/#configuring-the-session-engine

whoops...should have been a comment...not an answer...

jobscry
A: 

Sorry, this has nothing todo with django.

The changing cookie values were caused by the google analytics tracker.

This made the standard chache_site mechanism impossible.

msmart