diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index 16a48716e2..466c0a3deb 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -2403,6 +2403,9 @@ class TypoScriptFrontendController implements LoggerAwareInterface ]; $this->cacheExpires = $expirationTstamp; $this->pageCacheTags[] = 'pageId_' . $cacheData['page_id']; + if ($cacheData['page_id'] !== $this->contentPid) { + $this->pageCacheTags[] = 'pageId_' . $this->contentPid; + } if (!empty($this->page['cache_tags'])) { $tags = GeneralUtility::trimExplode(',', $this->page['cache_tags'], true); $this->pageCacheTags = array_merge($this->pageCacheTags, $tags);