[mapguide-commits] r5878 - in branches/2.2/Installer/Support/Web: x64/Apache2/conf x86/Apache2/conf

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon May 30 23:33:51 EDT 2011


Author: jng
Date: 2011-05-30 20:33:51 -0700 (Mon, 30 May 2011)
New Revision: 5878

Modified:
   branches/2.2/Installer/Support/Web/x64/Apache2/conf/httpd.conf
   branches/2.2/Installer/Support/Web/x86/Apache2/conf/httpd.conf
Log:
#1652: The mod_deflate settings were not specified correctly. The httpd.conf template has been updated to properly enable mod_deflate. Also deflate settings were not specified for the text/xml and application/json mime types. With these settings in place, a DESCRIBEFEATURESCHEMA operation that was previously 1.5MB in size is now under 30KB for both XML and JSON response types!

Modified: branches/2.2/Installer/Support/Web/x64/Apache2/conf/httpd.conf
===================================================================
--- branches/2.2/Installer/Support/Web/x64/Apache2/conf/httpd.conf	2011-05-31 02:58:06 UTC (rev 5877)
+++ branches/2.2/Installer/Support/Web/x64/Apache2/conf/httpd.conf	2011-05-31 03:33:51 UTC (rev 5878)
@@ -1011,9 +1011,13 @@
   AddHandler cgi-script exe
   
   # Content compression
+  SetOutputFilter DEFLATE
+  
   AddType text/javascript js jgz
   AddOutputFilterByType DEFLATE text/javascript
   AddOutputFilterByType DEFLATE text/html
+  AddOutputFilterByType DEFLATE text/xml
+  AddOutputFilterByType DEFLATE application/json
 
   RewriteEngine on
   RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]

Modified: branches/2.2/Installer/Support/Web/x86/Apache2/conf/httpd.conf
===================================================================
--- branches/2.2/Installer/Support/Web/x86/Apache2/conf/httpd.conf	2011-05-31 02:58:06 UTC (rev 5877)
+++ branches/2.2/Installer/Support/Web/x86/Apache2/conf/httpd.conf	2011-05-31 03:33:51 UTC (rev 5878)
@@ -1011,9 +1011,13 @@
   AddHandler cgi-script exe
   
   # Content compression
+  SetOutputFilter DEFLATE
+  
   AddType text/javascript js jgz
   AddOutputFilterByType DEFLATE text/javascript
   AddOutputFilterByType DEFLATE text/html
+  AddOutputFilterByType DEFLATE text/xml
+  AddOutputFilterByType DEFLATE application/json
 
   RewriteEngine on
   RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]



More information about the mapguide-commits mailing list