summaryrefslogtreecommitdiffstats
path: root/data/.htaccess
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-12-17 12:26:31 +0100
committerFlorian Pritz <bluewind@xinu.at>2011-12-17 12:26:31 +0100
commit94aef7b4e9283f5c955cd2c4d5f71937be87b048 (patch)
treedd66b0464cb0adfe3a77ca9362f8e04d217b96bb /data/.htaccess
parente4ee81d800a08a5839dcfeeb3441f2f0b4247a6f (diff)
move JS of upload_form to separate file
The code hardly changes so it should be cached by the browser. This won't work if it's inlined. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'data/.htaccess')
-rw-r--r--data/.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/.htaccess b/data/.htaccess
index 13d25207f..c8dfb58fd 100644
--- a/data/.htaccess
+++ b/data/.htaccess
@@ -1,6 +1,7 @@
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType text/css "access plus 1 year"
+ ExpiresByType application/javascript "access plus 1 year"
</IfModule>
Header append Cache-Control "public"