[LON-CAPA-cvs] cvs: loncom /interface loncss.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 27 Sep 2006 22:48:42 -0000


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'));