diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index 7c40e41f8d270c07150ced47d249961ddae837f8..7e90e219b4ecfb1373aecc9c1e6cd81ab686428d 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -2593,6 +2593,10 @@ class TypoScriptFrontendController implements LoggerAwareInterface ]; $this->cacheExpires = $expirationTstamp; $this->pageCacheTags[] = 'pageId_' . $cacheData['page_id']; + // Respect the page cache when content of pid is shown + if ($this->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);