To clarify, if I just enable the "ConditionalGetMiddleware" module it
won't change anything unless I also put in code to set the 'ETag' or
'Last-Modified' properties on responses for the pages that I want it
to work with?

That's my interpretation from reading a few sources on the subject.

Has anyone else enabled "ConditionalGetMiddleware" and measured the
results?

K.C.

On Nov 11, 4:01 pm, "K.C. Smith" <kevchr...@gmail.com> wrote:
> Hi,
>
> I'm interested in enabling this middleware module.  The Django doc.s
> don't say much about this module.  From looking at the code, however,
> and reading about these mechanisms it appears that the module will do
> nothing unless the 'ETag' and/or the 'Last-Modified' properties are
> already set on the response object.  Is that correct?
>
> Thanks in advance.
>
> K.C.

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to