summaryrefslogtreecommitdiffstats
path: root/data/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'data/.htaccess')
-rw-r--r--data/.htaccess13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/.htaccess b/data/.htaccess
new file mode 100644
index 000000000..902c08446
--- /dev/null
+++ b/data/.htaccess
@@ -0,0 +1,13 @@
+<IfModule mod_expires.c>
+ ExpiresActive on
+ ExpiresByType text/css "access plus 1 year"
+ ExpiresByType application/javascript "access plus 1 year"
+ ExpiresByType image/svg+xml "access plus 1 year"
+</IfModule>
+
+<IfModule mod_headers.c>
+ Header append Cache-Control "public"
+</IfModule>
+
+FileEtag none
+