From 6d5b9646a2b05f2e4d0f8635445cc9085b015862 Mon Sep 17 00:00:00 2001 From: Beatrycze Volk Date: Wed, 22 Jan 2025 18:43:36 +0100 Subject: [PATCH] Clear document cache if force reload is true Additional level for ensuring that the document is really refreshed --- Classes/Common/AbstractDocument.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/Common/AbstractDocument.php b/Classes/Common/AbstractDocument.php index 1f948e7ed..52d20d415 100644 --- a/Classes/Common/AbstractDocument.php +++ b/Classes/Common/AbstractDocument.php @@ -547,6 +547,7 @@ public static function &getInstance(string $location, array $settings = [], bool } } + GeneralUtility::makeInstance(DocumentCacheManager::class)->remove($location); $instance = null; // Try to load a file from the url