From 823de579230d58715133d3c02f96a1efaeeba455 Mon Sep 17 00:00:00 2001 From: Markus Friedrich Date: Wed, 8 May 2024 10:34:50 +0200 Subject: [PATCH] [BUGFIX] Fix flushing of all cache entries Adapts the processing in ReverseProxyCacheBackend->flush to ensure the cached urls are processed before the cache table is truncated. Resolves: #38 --- Classes/Cache/Backend/ReverseProxyCacheBackend.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Classes/Cache/Backend/ReverseProxyCacheBackend.php b/Classes/Cache/Backend/ReverseProxyCacheBackend.php index 5181f47..051b6f9 100755 --- a/Classes/Cache/Backend/ReverseProxyCacheBackend.php +++ b/Classes/Cache/Backend/ReverseProxyCacheBackend.php @@ -62,13 +62,12 @@ public function remove($entryIdentifier) */ public function flush() { - parent::flush(); - // make the HTTP Purge call if ($this->reverseProxyProvider->isActive()) { $urls = $this->getAllCachedUrls(); $this->reverseProxyProvider->flushAllUrls($urls); } + parent::flush(); } /**