3.6 Performance and Caching

Description

TYPO3 CD 2020 (zweite Auflage) Quiz on 3.6 Performance and Caching, created by Pascal Bartl on 09/04/2021.
Pascal Bartl
Quiz by Pascal Bartl, updated more than 1 year ago
Pascal Bartl
Created by Pascal Bartl over 3 years ago
1
0

Resource summary

Question 1

Question
Which cache groups exist in the TYPO3 core? (1)
Answer
  • pages
  • backend and frontend
  • pages, backend and frontend
  • pages, system and all
  • pages, system and core

Question 2

Question
How can the page cache be cleared automatically after a record has been saved, even if the plugin is cached? (1)
Answer
  • 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

Question 3

Question
In which file is the default caching framework configuration stored (alongside other configuration)? (1)
Answer
  • typo3/sysext/core/ext_tables.php
  • typo3/sysext/core/ext_localconf.php
  • typo3/sysext/cache/Configuration/DefaultConfiguration.php
  • typo3/sysext/core/Configuration/DefaultConfiguration.php

Question 4

Question
How can you clear all caches at once? (2)
Answer
  • 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

Question 5

Question
What are the differences between methods get() and getCache() of the Cache Manager? (2)
Answer
  • 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

Question 6

Question
How can a developer check whether a cache entry exists for a specific identifier? (2)
Answer
  • By using method has()
  • By using method hasCache()
  • By using method entryExists()
  • By testing against the value false
  • By testing against the value -1

Question 7

Question
How can you globally deactivate the caching framework? (1)
Answer
  • 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
Show full summary Hide full summary

Similar

Spanish Vocabulary- Beginner
PatrickNoonan
A-level French Vocabulary
daniel.praecox
My SMART School Year Goals for 2015
Stephen Lang
An Inspector Calls: Sheila Birling
Rattan Bhorjee
An Inspector Calls - Inspector Goole
Rattan Bhorjee
Structure of the League of Nations
saskiamitchell.19
GCSE REVISION TIMETABLE
gracemiddleton
An Inspector Calls- Quotes
ae14bh12
untitled 2
lola_smily
Cells and the Immune System
Eleanor H
Anatomie - sistemul respirator 1
Eugeniu Nicolenco