Zusammenfassung der Ressource
Frage 1
Frage
Which cache groups exist in the TYPO3 core? (1)
Frage 2
Frage
How can the page cache be cleared automatically after a record has been saved, even if the plugin is cached? (1)
Antworten
-
This is not possible
-
This is not possible without disabling the plugin cache
-
By using the TypoScript setting persistence.enableAutomaticCacheClearing
-
By using the User TSconfig setting TCEMAIN.clearCacheCmd
-
By using the Page TSconfig setting TCEMAIN.clearCacheCmd
Frage 3
Frage
In which file is the default caching framework configuration stored (alongside other configuration)? (1)
Antworten
-
typo3/sysext/core/ext_tables.php
-
typo3/sysext/core/ext_localconf.php
-
typo3/sysext/cache/Configuration/DefaultConfiguration.php
-
typo3/sysext/core/Configuration/DefaultConfiguration.php
Frage 4
Frage
How can you clear all caches at once? (2)
Antworten
-
By executing the clearAllCaches() command with the DataHandler
-
By executing the clear_cacheCmd('all') command with the DataHandler
-
By executing the flushCaches() method of the Cache Manager
-
By executing the flush() method of the Cache Manager
-
By executing the flushAll() method of the Action Controller
Frage 5
Frage
What are the differences between methods get() and getCache() of the Cache Manager? (2)
Antworten
-
get() determines the cache
-
getCache() determines the cache
-
get() retrieves data from the cache
-
getCache() retrieves data from the cache
-
get() and getCache() are identical functions
Frage 6
Frage
How can a developer check whether a cache entry exists for a specific identifier? (2)
Antworten
-
By using method has()
-
By using method hasCache()
-
By using method entryExists()
-
By testing against the value false
-
By testing against the value -1
Frage 7
Frage
How can you globally deactivate the caching framework? (1)
Antworten
-
By iterating all registered caches and setting them to the NullBackend
-
By using the configuration
$GLOBALS['TYPO3_CONF_VARS']['SYS']['useCachingFramework'] = 0
-
By using the configuration
$GLOBALS['TYPO3_CONF_VARS']['SYS']['useCachingFramework'] = false
-
By using the configuration
$GLOBALS['TYPO3_CONF_VARS']['SYS']['disableCachingFramework'] = 1
-
By using the configuration
$GLOBALS['TYPO3_CONF_VARS']['SYS']['disableCachingFramework'] = true