From cf1885a46b2479d37284850af3781d62bd25d6a1 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Tue, 3 Apr 2018 22:58:38 +0200 Subject: [PATCH] readded system.performance as missing config are deleted on import --- .gitignore | 3 ++- .../default/config/sync/system.performance.yml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 sites/default/config/sync/system.performance.yml diff --git a/.gitignore b/.gitignore index 7d704ff02..d3940784b 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,5 @@ dbbackups *.tar.gz *.zip -sites/default/config/sync/system.performance.yml +# this is not working as missing config a simply delete on import +# sites/default/config/sync/system.performance.yml diff --git a/sites/default/config/sync/system.performance.yml b/sites/default/config/sync/system.performance.yml new file mode 100644 index 000000000..7a276db56 --- /dev/null +++ b/sites/default/config/sync/system.performance.yml @@ -0,0 +1,18 @@ +cache: + page: + max_age: 0 +css: + preprocess: false + gzip: true +fast_404: + enabled: true + paths: '/\.(?:txt|png|gif|jpe?g|css|js|ico|swf|flv|cgi|bat|pl|dll|exe|asp)$/i' + exclude_paths: '/\/(?:styles|imagecache)\//' + html: '404 Not Found

Not Found

The requested URL "@path" was not found on this server.

' +js: + preprocess: false + gzip: true +stale_file_threshold: 2592000 +_core: + default_config_hash: b2cssrj-lOmATIbdehfCqfCFgVR0qCdxxWhwqa2KBVQ +langcode: fr