From 418b08bfd9cedde13eacbc0a3eee7a9a23dc1837 Mon Sep 17 00:00:00 2001 From: Philipp Dallig Date: Fri, 21 Oct 2016 09:45:11 +0200 Subject: [PATCH] sirona-aem - apache performence tuning --- customer/sirona-aem/common.yaml | 39 +++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/customer/sirona-aem/common.yaml b/customer/sirona-aem/common.yaml index 9474381f..79f62470 100644 --- a/customer/sirona-aem/common.yaml +++ b/customer/sirona-aem/common.yaml @@ -8,21 +8,46 @@ site::additional_classes: java::package: java-1.8.0-oraclejdk puppetconf::server: puppetmaster01.pixelpark.com -ntp::servers: - - '0.centos.pool.ntp.org' - - '1.centos.pool.ntp.org' - - '2.centos.pool.ntp.org' +# Start Performence Apache +apache::keepalive: 'On' # new +apache::keepalive_timeout: 3 # new + +apache::mod::expires::expires_by_type: + - { application/javascript: "access plus 1 day" } + - { text/css: "access plus 1 day" } + - { image/jpeg: "access plus 1 day" } + - { image/png: "access plus 1 day" } + - { image/bmp: "access plus 1 day" } + - { image/gif: "access plus 1 day" } + - { image/vnd.microsoft.icon: "access plus 1 day" } + - { application/font-woff: "access plus 1 day" } + - { application/vnd.ms-fontobject: "access plus 1 day" } + - { image/svg+xml: "access plus 1 day" } + - { application/font-sfnt: "access plus 1 day" } + - { application/vnd.oasis.opendocument.formula-template: "access plus 1 day" } + - { application/font-woff2: "access plus 1 day" } # new + - { image/svg+xml: "access plus 1 day" } # new -apache::mpm_module: worker apache::mod::mime::mime_types_additional: 'AddHandler': 'type-map': 'var' 'AddType': 'text/html': '.shtml' + 'application/font-woff2': '.woff2' # new 'AddOutputFilter': 'INCLUDES': '.shtml' - 'AddEncoding': - 'gzip': '.svgz' + 'INCLUDES': '.woff2' # new + 'AddEncoding': # new + 'gzip': '.svgz' # new + +# End Performence Apache +ntp::servers: + - '0.centos.pool.ntp.org' + - '1.centos.pool.ntp.org' + - '2.centos.pool.ntp.org' + +apache::mpm_module: worker + accounts::users: sirona: -- 2.39.5