[Jifty-commit] r2090 - in jifty/trunk: share/web/templates/=

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Oct 30 23:48:25 EST 2006


Author: jesse
Date: Mon Oct 30 23:48:25 2006
New Revision: 2090

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/share/web/templates/=/subs

Log:
 r29564 at pinglin:  jesse | 2006-10-30 18:11:50 -0500
  * added no-cache headers to subs


Modified: jifty/trunk/share/web/templates/=/subs
==============================================================================
--- jifty/trunk/share/web/templates/=/subs	(original)
+++ jifty/trunk/share/web/templates/=/subs	Mon Oct 30 23:48:25 2006
@@ -1,6 +1,8 @@
 <%init>
 
-$r->content_type("text/html");
+$r->content_type("text/html; charset=utf-8");
+$r->headers_out->{'Pragma'} = 'no-cache';
+$r->headers_out->{'Cache-control'} = 'no-cache';
 $r->send_http_header;
 
 my $writer = XML::Writer->new;


More information about the Jifty-commit mailing list