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
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
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 -
I am trying to find correct order for this middleware
3 matches
Mail list logo