[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 31 Jan 2005 21:57:33 -0000


albertel		Mon Jan 31 16:57:33 2005 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  - the last modfied header seems more iportant to Firefox when it comes to caching then the Expires header is
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.195 loncom/homework/lonhomework.pm:1.196
--- loncom/homework/lonhomework.pm:1.195	Fri Jan 28 16:08:45 2005
+++ loncom/homework/lonhomework.pm	Mon Jan 31 16:57:32 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.195 2005/01/28 21:08:45 albertel Exp $
+# $Id: lonhomework.pm,v 1.196 2005/01/31 21:57:32 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -439,8 +439,8 @@
     if (!$Apache::lonxml::debug && ($ENV{'REQUEST_METHOD'} eq 'GET')) {
 	&Apache::loncommon::no_cache($request);
     }
-    $request->set_last_modified(&Apache::lonnet::metadata($request->uri,
-							  'lastrevisiondate'));
+#    $request->set_last_modified(&Apache::lonnet::metadata($request->uri,
+#							  'lastrevisiondate'));
     $request->send_http_header;
     return OK if $request->header_only;
     return ''