| @@ 3869-3874 (lines=6) @@ | ||
| 3866 | $identifier = md5('pageTS:' . $userTS); |
|
| 3867 | $contentHashCache = GeneralUtility::makeInstance(CacheManager::class)->getCache('cache_hash'); |
|
| 3868 | $this->pagesTSconfig = $contentHashCache->get($identifier); |
|
| 3869 | if (!is_array($this->pagesTSconfig)) { |
|
| 3870 | $parseObj = GeneralUtility::makeInstance(TypoScriptParser::class); |
|
| 3871 | $parseObj->parse($userTS); |
|
| 3872 | $this->pagesTSconfig = $parseObj->setup; |
|
| 3873 | $contentHashCache->set($identifier, $this->pagesTSconfig, ['PAGES_TSconfig'], 0); |
|
| 3874 | } |
|
| 3875 | } |
|
| 3876 | return $this->pagesTSconfig; |
|
| 3877 | } |
|
| @@ 1375-1382 (lines=8) @@ | ||
| 1372 | $cachedContent = $cache->get($hash); |
|
| 1373 | if (is_array($cachedContent) && !$this->userTS_dontGetCached) { |
|
| 1374 | $this->userTS = $cachedContent; |
|
| 1375 | } else { |
|
| 1376 | $parseObj = GeneralUtility::makeInstance(\TYPO3\CMS\Core\TypoScript\Parser\TypoScriptParser::class); |
|
| 1377 | $parseObj->parse($this->userTS_text); |
|
| 1378 | $this->userTS = $parseObj->setup; |
|
| 1379 | $cache->set($hash, $this->userTS, ['ident_BE_USER_TSconfig'], 0); |
|
| 1380 | // Update UC: |
|
| 1381 | $this->userTSUpdated = true; |
|
| 1382 | } |
|
| 1383 | } |
|
| 1384 | // Processing webmounts |
|
| 1385 | // Admin's always have the root mounted |
|