From d13223c8d0ddbe294beb357e42c5ea19d42e587c Mon Sep 17 00:00:00 2001 From: Mathias Elle Date: Wed, 3 Jun 2026 23:41:07 +0200 Subject: [PATCH 1/3] fix: enhance cache cleaning in InspectorCommand to include layout and full page caches --- src/Console/Command/Dev/InspectorCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Console/Command/Dev/InspectorCommand.php b/src/Console/Command/Dev/InspectorCommand.php index d531fae..5356273 100644 --- a/src/Console/Command/Dev/InspectorCommand.php +++ b/src/Console/Command/Dev/InspectorCommand.php @@ -213,7 +213,7 @@ private function isInspectorEnabled(): bool */ private function cleanCache(): void { - $this->cacheManager->clean(['config']); - $this->io->writeln('Config cache cleaned'); + $this->cacheManager->clean(['config', 'layout', 'full_page', 'block_html']); + $this->io->writeln('Config, layout, full page & block HTML cache cleaned'); } } From 0ae61953dc70664826be392a8d8ee51d2b839387 Mon Sep 17 00:00:00 2001 From: Mathias Elle Date: Wed, 3 Jun 2026 23:45:16 +0200 Subject: [PATCH 2/3] fix: update cache cleaning description in InspectorCommand to clarify relevance --- src/Console/Command/Dev/InspectorCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Command/Dev/InspectorCommand.php b/src/Console/Command/Dev/InspectorCommand.php index 5356273..e7f556b 100644 --- a/src/Console/Command/Dev/InspectorCommand.php +++ b/src/Console/Command/Dev/InspectorCommand.php @@ -207,7 +207,7 @@ private function isInspectorEnabled(): bool } /** - * Clean config cache + * Clean relevant caches after changing inspector status * * @return void */ From 7d32ae78dd2a157d42f1d90d998e51426b013806 Mon Sep 17 00:00:00 2001 From: Mathias Elle Date: Wed, 3 Jun 2026 23:46:09 +0200 Subject: [PATCH 3/3] fix: correct cache cleaning message in InspectorCommand --- src/Console/Command/Dev/InspectorCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Console/Command/Dev/InspectorCommand.php b/src/Console/Command/Dev/InspectorCommand.php index e7f556b..2b73a7e 100644 --- a/src/Console/Command/Dev/InspectorCommand.php +++ b/src/Console/Command/Dev/InspectorCommand.php @@ -214,6 +214,6 @@ private function isInspectorEnabled(): bool private function cleanCache(): void { $this->cacheManager->clean(['config', 'layout', 'full_page', 'block_html']); - $this->io->writeln('Config, layout, full page & block HTML cache cleaned'); + $this->io->writeln('Config, layout, full page & block HTML caches cleaned'); } }