[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /interface loncss.pm
From: albertel <lon-capa-cvs () mail ! lon-capa ! org>
Date: 2006-09-27 22:48:42
Message-ID: cvsalbertel1159397322 () cvsserver
[Download RAW message or body]
albertel Wed Sep 27 18:48:42 2006 EDT
Modified files:
/loncom/interface loncss.pm
Log:
- increase the expires on the css sheet from 5 minutes to a day to reduce
the often ness that it's refected
Index: loncom/interface/loncss.pm
diff -u loncom/interface/loncss.pm:1.4 loncom/interface/loncss.pm:1.5
--- loncom/interface/loncss.pm:1.4 Wed Sep 6 15:08:33 2006
+++ loncom/interface/loncss.pm Wed Sep 27 18:48:42 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# gerenates a lon-capa CSS response
#
-# $Id: loncss.pm,v 1.4 2006/09/06 19:08:33 albertel Exp $
+# $Id: loncss.pm,v 1.5 2006/09/27 22:48:42 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -45,7 +45,7 @@
split(':',$url);
$r->content_type('text/css');
- my $date=strftime("%a, %d %b %Y %H:%M:%S GMT",gmtime(time+600));
+ my $date=strftime("%a, %d %b %Y %H:%M:%S GMT",gmtime(time+86400));
$r->header_out("Expires" => $date);
my %cookies=CGI::Cookie->parse($r->header_in('Cookie'));
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic