From: Philipp Dallig Date: Tue, 7 Mar 2017 13:53:00 +0000 (+0100) Subject: sometimes javascript is served with this old content-type X-Git-Tag: v0.1.0~3486 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=afdfc2b5f36dfb1355a13f590b8d387da336c3d4;p=pixelpark%2Fhiera.git sometimes javascript is served with this old content-type --- diff --git a/modules/apache.yaml b/modules/apache.yaml index e9f708f8..c0122885 100644 --- a/modules/apache.yaml +++ b/modules/apache.yaml @@ -38,6 +38,7 @@ apache::log_formats: apache::mod::expires::expires_by_type: - { application/javascript: "access plus 1 day" } + - { application/x-javascript: "access plus 1 day" } - { text/css: "access plus 1 day" } - { image/jpeg: "access plus 1 day" } - { image/png: "access plus 1 day" }