On Mon, Nov 10, 2008 at 4:14 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I've tried using the USE_ETAGS=true in my project settings and even > tried using the ConditionalGet Middleware. However, whenever an http > request is made to my page, it always seems to return a http code 200 > along with the entire data. > > how / what do I need to do so that a http 304 is issued if the data > hasnt been modified ? > > do i need to do do anything within my view to issue the http 304 ? > No, I just set USE_ETAGS=True in my settings.py and (since I already had CommonMiddleware specified) now I see my server return 304 for unchanged pages. Presumably you're using something to look at the headers in the requests/responses -- can you see the Etag in the responses? Is your client sending If-None-Match when it then requests the same page? Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---