[packages/ckeditor] apache config: better caching

glen glen at pld-linux.org
Thu Jul 10 17:44:47 CEST 2014


commit 61fa70010df91afee8735d81ebe6360e4e98a109
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jul 10 18:44:34 2014 +0300

    apache config: better caching

 apache.conf | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/apache.conf b/apache.conf
index e635eec..5c376ce 100644
--- a/apache.conf
+++ b/apache.conf
@@ -9,4 +9,13 @@ Alias /ckeditor/ /usr/share/ckeditor/
 		Order allow,deny
 		Allow from all
 	</IfModule>
+
+	<IfModule mod_deflate.c>
+		SetOutputFilter DEFLATE
+	</IfModule>
+	<IfModule mod_expires.c>
+		ExpiresByType text/html "access plus 5 months"
+		ExpiresByType text/css "access plus 5 months"
+		ExpiresByType application/x-javascript "access plus 5 months"
+	</IfModule>
 </Directory>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ckeditor.git/commitdiff/61fa70010df91afee8735d81ebe6360e4e98a109



More information about the pld-cvs-commit mailing list