[LON-CAPA-cvs] cvs: loncom(version_2_8_X) / loncapa_apache.conf

raeburn raeburn@source.lon-capa.org
Tue, 11 May 2010 23:41:04 -0000


raeburn		Tue May 11 23:41:04 2010 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom	loncapa_apache.conf 
  Log:
  - Backport 1.191, 1.192.
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.181.2.3 loncom/loncapa_apache.conf:1.181.2.4
--- loncom/loncapa_apache.conf:1.181.2.3	Tue Dec 23 00:06:12 2008
+++ loncom/loncapa_apache.conf	Tue May 11 23:41:04 2010
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.181.2.3 2008/12/23 00:06:12 raeburn Exp $
+## $Id: loncapa_apache.conf,v 1.181.2.4 2010/05/11 23:41:04 raeburn Exp $
 ##
 
 #
@@ -55,6 +55,12 @@
 PerlAuthenHandler       'sub { return OK }'
 </LocationMatch>
 
+# Send proper expires header to avoid unnecessary HTTP request for static content
+<LocationMatch "^(/adm/lonIcons|/adm/jQuery|/adm/jsMath|/res/adm/pages|/fckeditor)">
+        ExpiresActive On
+        ExpiresDefault "access plus 12 hours"
+</LocationMatch>
+
 <LocationMatch "^/+res.*">
 
 AuthType LONCAPA