[Pkg-voip-commits] r8349 - /mumble-django/trunk/debian/apache2.conf

svedrin-guest at alioth.debian.org svedrin-guest at alioth.debian.org
Tue Apr 27 12:10:38 UTC 2010


Author: svedrin-guest
Date: Tue Apr 27 12:10:32 2010
New Revision: 8349

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8349
Log:
improve caching by removing ETags and adding Cache-Control headers

Modified:
    mumble-django/trunk/debian/apache2.conf

Modified: mumble-django/trunk/debian/apache2.conf
URL: http://svn.debian.org/wsvn/pkg-voip/mumble-django/trunk/debian/apache2.conf?rev=8349&op=diff
==============================================================================
--- mumble-django/trunk/debian/apache2.conf (original)
+++ mumble-django/trunk/debian/apache2.conf Tue Apr 27 12:10:32 2010
@@ -7,11 +7,16 @@
 WSGIScriptReloading     Off
 
 <Location /mumble-django>
+	FileETag None
 	<IfModule mod_deflate.c>
-		AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript
+		AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript image/png image/jpeg image/gif
 		<IfModule mod_headers.c>
 			# properly handle requests coming from behind proxies
+			Header unset ETag
 			Header append Vary User-Agent
+			<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
+				Header set Cache-Control "max-age=86400, must-revalidate"
+			</FilesMatch>
 		</IfModule>
 	</IfModule>
 </Location>




More information about the Pkg-voip-commits mailing list