From d63a8f48292fad67852cbada4c49ea45816bb2c5 Mon Sep 17 00:00:00 2001 From: Oliver Hauser <61793007+dkd-hauser@users.noreply.github.com> Date: Tue, 11 Aug 2026 18:27:11 +0200 Subject: [PATCH] fix(feed-display): fix static cache key collision with multiple plugin instances ## Problem The `FeedController` uses a hardcoded cache key (`feeddisplay`) shared across all plugin instances regardless of their individual settings (feed URL, date range, type etc.). With multiple instances configured with different settings, every request that hits an instance whose settings differ from the currently cached ones causes a cache miss and overwrites the shared cache entry. In practice this means caching is completely ineffective when more than one instance is deployed. --- Classes/Controller/FeedController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/FeedController.php b/Classes/Controller/FeedController.php index d53f9848..35503918 100644 --- a/Classes/Controller/FeedController.php +++ b/Classes/Controller/FeedController.php @@ -35,7 +35,7 @@ public function displayAction(): ResponseInterface return $this->htmlResponse(); } - $cacheIdentifier = 'feeddisplay'; + $cacheIdentifier = 'feeddisplay_' . md5(serialize($this->settings)); $data = $this->cache->get($cacheIdentifier); $cacheDuration = (int)$this->settings['cacheDuration'];