From fd17480939d963d65846cb555fc50ded05a61b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 3 Feb 2018 19:08:28 +0100 Subject: [PATCH] mod_expires --- www/data/dynamic/.htaccess | 4 ++++ www/data/images/.htaccess | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 www/data/dynamic/.htaccess create mode 100644 www/data/images/.htaccess diff --git a/www/data/dynamic/.htaccess b/www/data/dynamic/.htaccess new file mode 100644 index 0000000..f347088 --- /dev/null +++ b/www/data/dynamic/.htaccess @@ -0,0 +1,4 @@ + +ExpiresActive On +ExpiresDefault "access plus 12 hours" + \ No newline at end of file diff --git a/www/data/images/.htaccess b/www/data/images/.htaccess new file mode 100644 index 0000000..3835eb5 --- /dev/null +++ b/www/data/images/.htaccess @@ -0,0 +1,8 @@ + +ExpiresActive On +ExpiresByType image/jpg "access plus 1 week" +ExpiresByType image/jpeg "access plus 1 week" +ExpiresByType image/gif "access plus 1 week" +ExpiresByType image/png "access plus 1 week" +ExpiresByType image/svg+xml "access plus 1 day" + \ No newline at end of file