<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Django Caching Middleware &#038; Login Page</title>
	<atom:link href="http://www.indirecthit.com/2008/06/02/django-caching-middleware-login-page/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indirecthit.com/2008/06/02/django-caching-middleware-login-page/</link>
	<description>A Discussion on PHP, AJAX and Other Web Tools with a bit of startup talk</description>
	<pubDate>Wed, 03 Dec 2008 06:21:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: clong</title>
		<link>http://www.indirecthit.com/2008/06/02/django-caching-middleware-login-page/#comment-117</link>
		<dc:creator>clong</dc:creator>
		<pubDate>Wed, 04 Jun 2008 18:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.indirecthit.com/?p=37#comment-117</guid>
		<description>Hey SmileyChris,

Thanks for pointing that out. I just opened up a ticket for it: http://code.djangoproject.com/ticket/7364

I did up a quick diff for the ticket, I ended up using the @never_cache decorator. I put the changes live on StartupIndex.ca, and it seems to be working.</description>
		<content:encoded><![CDATA[<p>Hey SmileyChris,</p>
<p>Thanks for pointing that out. I just opened up a ticket for it: <a href="http://code.djangoproject.com/ticket/7364" rel="nofollow">http://code.djangoproject.com/ticket/7364</a></p>
<p>I did up a quick diff for the ticket, I ended up using the @never_cache decorator. I put the changes live on StartupIndex.ca, and it seems to be working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SmileyChris</title>
		<link>http://www.indirecthit.com/2008/06/02/django-caching-middleware-login-page/#comment-115</link>
		<dc:creator>SmileyChris</dc:creator>
		<pubDate>Tue, 03 Jun 2008 19:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.indirecthit.com/?p=37#comment-115</guid>
		<description>It looks like you need to open a ticket.

Since recently, the caching also respects setting a custom max-age header, the contrib.auth login view could just use the decorator @cache_control(max_age=0)
 (as explained in http://www.djangoproject.com/documentation/cache/#controlling-cache-using-other-headers)</description>
		<content:encoded><![CDATA[<p>It looks like you need to open a ticket.</p>
<p>Since recently, the caching also respects setting a custom max-age header, the contrib.auth login view could just use the decorator @cache_control(max_age=0)<br />
 (as explained in <a href="http://www.djangoproject.com/documentation/cache/#controlling-cache-using-other-headers" rel="nofollow">http://www.djangoproject.com/documentation/cache/#controlling-cache-using-other-headers</a>)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
