Settings::getCachedTyposcript()
\nn\t3::Settings()->getCachedTyposcript();
High-performance version for initializing the TSFE in the backend. Get the complete TypoScript setup, incl. '.' syntax.
Is saved via file cache.
\nn\t3::Settings()->getCachedTyposcript();
Copied!
| @return array
Source Code
public function getCachedTyposcript()
{
if ($cache = \nn\t3::Cache()->read('nnhelpers_fullTsCache')) {
return $cache;
}
$setup = $this->getFullTyposcript();
\nn\t3::Cache()->write('nnhelpers_fullTsCache', $setup);
return $this->typoscriptFullCache = $setup;
}
Copied!