Settings::getCachedTyposcript()
\nn\t3::Settings()->getCachedTyposcript();
High-Peformance-Version für das Initialisieren des TSFE im Backend. Das komplette TypoScript Setup holen, inkl. '.'-Syntax.
Wird über Filecache gespeichert.
\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!