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 about 3 years ago
0
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

Forces and Acceleration
Adam Collinge
Kwasi Enin - College Application Essay
philip.ellis
Of Mice & Men Themes - Key essay points
Lilac Potato
B3, C3, P3
George Moores
GCSE Maths: Algebra & Number Quiz
Andrea Leyden
GCSE Computing: Hardware
Yasmin F
An Inspector Calls- Quotes
ae14bh12
Whole Number Glossary L1
Lee Holness
Derecho Aéreo
Adriana Forero
Highway Code Road Signs for Driving Test
Sarah Egan
FV modules 1-4 infinitives- ENTER SPANISH
Pamela Dentler