From 4159324b26ec3e6ef7bd3d8b03455f3f0739917c Mon Sep 17 00:00:00 2001 From: Philipp Dieter Date: Sun, 19 Dec 2021 17:45:28 +0100 Subject: [PATCH] [TASK] Hide option to clear all cache on not development systems --- Resources/Private/UserTSConfig/default.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Resources/Private/UserTSConfig/default.ts b/Resources/Private/UserTSConfig/default.ts index 3f1caa4..c117da8 100644 --- a/Resources/Private/UserTSConfig/default.ts +++ b/Resources/Private/UserTSConfig/default.ts @@ -7,3 +7,8 @@ options { hideCreateFolder = 1 } } + +[applicationContext != 'Development'] +options.clearCache.all = 0 +options.clearCache.pages = 1 +[end]