From bae2b0b5c55546c2b8b7f3e9cc32882c24b88127 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Oliver=20B=C3=B6ttcher?= <oliver.boettcher@pixelpark.com>
Date: Wed, 30 Aug 2017 12:50:01 +0200
Subject: [PATCH] ODT - expires by type

---
 .../cms-odt-daimler-com.pixelpark.net.yaml    | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml b/customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml
index a34531df..cd9ff615 100644
--- a/customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml
+++ b/customer/mbvd-odt/cms-odt-daimler-com.pixelpark.net.yaml
@@ -20,6 +20,27 @@ apache::mod:proxy:
 apache::mod::remoteip::proxy_ips:
   - '93.188.107.252'
   - '93.188.107.253'
+
+apache::mod::expires::expires_by_type:
+  - { application/javascript: "access plus 1 year" }
+  - { application/x-javascript: "access plus 1 year" }
+  - { text/css: "access plus 1 year" }
+  - { image/jpeg: "access plus 1 month" }
+  - { image/png: "access plus 1 month" }
+  - { image/bmp: "access plus 1 month" }
+  - { image/gif: "access plus 1 month" }
+  - { image/vnd.microsoft.icon: "access plus 1 year" }
+  - { image/x-icon: "access plus 1 year" }
+  - { application/font-woff: "access plus 1 month" }
+  - { application/vnd.ms-fontobject: "access plus 1 month" }
+  - { image/svg+xml: "access plus 1 month" }
+  - { application/font-sfnt: "access plus 1 month" }
+  - { application/vnd.oasis.opendocument.formula-template: "access plus 1 month" }
+  - { application/font-woff2: "access plus 1 month" }
+  - { video/mp4: "access plus 1 month" }
+  - { video/ogv: "access plus 1 month" }
+  - { video/webm: "access plus 1 month" }
+
 infra::profile::apache::pp_vhosts:
   cms:
     setenvif:
-- 
2.39.5