From 7f23b088a41e13e65a66366c11daaebb2ee46ead Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Tue, 25 May 2021 11:27:13 -0600 Subject: [PATCH] set `clear_images_by_default` to false by default --- CHANGELOG.md | 2 ++ system/blueprints/config/system.yaml | 2 +- system/config/system.yaml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b947962b..ec81e259a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # v1.7.16 ## mm/dd/2021 +1. [](#improved) + * Set `cache.clear_images_by_default` to `false` by default 1. [](#bugfix) * Improve Plugin and Theme initialization to fix PHP8 bug [#3368](https://github.com/getgrav/grav/issues/3368) * Fixed `pathinfo()` twig filter in PHP 7 diff --git a/system/blueprints/config/system.yaml b/system/blueprints/config/system.yaml index 84c1dcc05..dffe09902 100644 --- a/system/blueprints/config/system.yaml +++ b/system/blueprints/config/system.yaml @@ -646,7 +646,7 @@ form: type: toggle label: PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT help: PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT_HELP - highlight: 1 + highlight: 0 options: 1: PLUGIN_ADMIN.YES 0: PLUGIN_ADMIN.NO diff --git a/system/config/system.yaml b/system/config/system.yaml index 08b17fb16..8c14e5d49 100644 --- a/system/config/system.yaml +++ b/system/config/system.yaml @@ -96,7 +96,7 @@ cache: purge_at: '0 4 * * *' # How often to purge old file cache (using new scheduler) clear_at: '0 3 * * *' # How often to clear cache (using new scheduler) clear_job_type: 'standard' # Type to clear when processing the scheduled clear job `standard`|`all` - clear_images_by_default: true # By default grav will include processed images in cache clear, this can be disabled + clear_images_by_default: false # By default grav will include processed images in cache clear, this can be disabled cli_compatibility: false # Ensures only non-volatile drivers are used (file, redis, memcache, etc.) lifetime: 604800 # Lifetime of cached data in seconds (0 = infinite) gzip: false # GZip compress the page output