Re: confused about the order of the CacheMiddleware in MIDDLEWARE_CLASSES

2007-07-27 Thread iww
I am a newbie of django. In my opinion, it means the CacheMiddleware module process shoule after the SessionMiddleware . According to WSGI specification, CacheMiddleware shoule be the "client" of the SessionMiddleware. So we should put CacheMiddleware before SessionMiddleware . On 7月14日,

Re: confused about the order of the CacheMiddleware in MIDDLEWARE_CLASSES

2007-07-14 Thread Mesh007
Can any body give me some help information? Thanks very much On 7月13日, 下午3时06分, Mesh007 <[EMAIL PROTECTED]> wrote: > Hi, all: > > I touch django not long before, and am learning it, when i touch the > CacheMiddleware, i am confused confused about the order of the > CacheMiddleware in

confused about the order of the CacheMiddleware in MIDDLEWARE_CLASSES

2007-07-13 Thread Mesh007
Hi, all: I touch django not long before, and am learning it, when i touch the CacheMiddleware, i am confused confused about the order of the CacheMiddleware in MIDDLEWARE_CLASSES It is say: "Put the CacheMiddleware after any middlewares that might add something to the Vary header. " in the