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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 15 Nov 2005 18:07:46 -0000


albertel		Tue Nov 15 13:07:46 2005 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - turn on no_caching by default
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.291 loncom/interface/loncommon.pm:1.292
--- loncom/interface/loncommon.pm:1.291	Tue Nov 15 11:04:14 2005
+++ loncom/interface/loncommon.pm	Tue Nov 15 13:07:46 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.291 2005/11/15 16:04:14 albertel Exp $
+# $Id: loncommon.pm,v 1.292 2005/11/15 18:07:46 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3350,6 +3350,7 @@
 
 sub content_type {
     my ($r,$type,$charset) = @_;
+    &no_cache($r);
     if ($env{'browser.mathml'} && $type eq 'text/html') { $type='text/xml'; }
     unless ($charset) {
 	$charset=&Apache::lonlocal::current_encoding;