summaryrefslogtreecommitdiffstats
path: root/data/.htaccess
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-09-30 17:10:51 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-09-30 17:10:51 +0200
commit2a841eb78a8b662dd7b806e6864d963f21b56667 (patch)
tree8cd4f62b85858a5c82ec0a71a4d6980f0cb37990 /data/.htaccess
parentda4df73ad770c30b2e6c5d2606e11ed7dc291cd0 (diff)
add expire header for css files and append mtime to url
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'data/.htaccess')
-rw-r--r--data/.htaccess8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/.htaccess b/data/.htaccess
new file mode 100644
index 000000000..13d25207f
--- /dev/null
+++ b/data/.htaccess
@@ -0,0 +1,8 @@
+<IfModule mod_expires.c>
+ ExpiresActive on
+ ExpiresByType text/css "access plus 1 year"
+</IfModule>
+
+Header append Cache-Control "public"
+FileEtag none
+