I have looked at the link you have given me.

But I totally disagree, it looks like to me that the best order is
ConditionalGet
CacheMiddleware
SessionMiddleware
GZipMiddleware

But django dies and it is a bug in django. I have made bug report with
a patch
http://code.djangoproject.com/ticket/5176


On 16 авг, 02:46, "Kai Kuehne" <[EMAIL PROTECTED]> wrote:
> Hi Erarothene,
>
> On 8/16/07, Eratothene <[EMAIL PROTECTED]> wrote:
>
>
>
> > I am totally confused with CacheMiddleware docs and middleware docs.
>
> > I want to use such middlewares in project:
> > ConditionalGetMiddleware
> > GZipMiddleware - addes Vary on Accept-Encoding
> > SessionMiddleware - addes Vary on Cookie
> > CacheMiddleware -
>
> Fredrik Lundh wrote about it. If I recall correct, he had the same
> problem:http://effbot.org/zone/zone-django-notes.htm


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to