gzip html and xml output
authorWolfram Schneider <wosch@indexdata.dk>
Tue, 13 Aug 2013 16:33:35 +0000 (16:33 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Tue, 13 Aug 2013 16:33:35 +0000 (16:33 +0000)
toroid output will be up to 15 times smaller

web/conf/apache2.0/irspy.conf

index 509afea..efa8d5b 100644 (file)
     #ProxyPass         /toroid/ http://localhost:12367/
     #ProxyPassReverse  /toroid/ http://localhost:12367/
 
+    # compress output
+    <Location />
+      AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml
+      SetOutputFilter DEFLATE
+    </Location>
+
 </VirtualHost>