Browse Source

readded system.performance as missing config are deleted on import

Bachir Soussi Chiadmi 6 years ago
parent
commit
cf1885a46b
2 changed files with 20 additions and 1 deletions
  1. 2 1
      .gitignore
  2. 18 0
      sites/default/config/sync/system.performance.yml

+ 2 - 1
.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

+ 18 - 0
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: '<!DOCTYPE html><html><head><title>404 Not Found</title></head><body><h1>Not Found</h1><p>The requested URL "@path" was not found on this server.</p></body></html>'
+js:
+  preprocess: false
+  gzip: true
+stale_file_threshold: 2592000
+_core:
+  default_config_hash: b2cssrj-lOmATIbdehfCqfCFgVR0qCdxxWhwqa2KBVQ
+langcode: fr