I’m running a fairly big Grav site, and a very welcome feature would be:
Being able to turn off the auto image cache clear after updating or upgrading.
It takes a lot of resources to rebuild the image cache after every update; which is a shame, because the overall update process is very smooth. (a dream compared to Drupal for example)
something like this inside SelfupgradeCommand.php:
// clear cache after successful upgrade
$question = new ConfirmationQuestion("Would you like to clear all cache now? [y|N] ", false);
$answer = $questionHelper->ask($this->input, $this->output, $question);
if (!$answer) {
$this->output->writeln("Cache not cleared. You can allways manually clear the cache if necessary.");
}
else{
$this->clearCache('all');
$this->output->writeln("All cache cleared.");
}
instead of:
// clear cache after successful upgrade
$this->clearCache('all');
---