Chapter 3

Description

TYPO3 Quiz on Chapter 3, created by Ma Hi on 17/04/2015.
Ma Hi
Quiz by Ma Hi, updated more than 1 year ago
Ma Hi
Created by Ma Hi about 9 years ago
12
2

Resource summary

Question 1

Question
Which actions are required to activate caching in a newly installed TYPO3 instance? (1)
Answer
  • The Use Cache check box has to be activated while the installer is running.
  • The Use Cache setting in the All Configuration section has to be selected in the Install Tool.
  • None – TYPO3 caching is activated by default.
  • The installation has to be called up once using a special URL: http://mytypo3domain.de/index.php?no_cache=0
  • Caching has to be activated in the Caching module in the backend.

Question 2

Question
Page reproduction takes a long time. Why could this be? (3)
Answer
  • The site is too large – TYPO3 only runs efficiently with up to 100 or 150 pages.
  • One of the extensions loaded contains the following command: $GLOBALS['TSFE']->set_no_cache()
  • The URL contains the parameter &no_cache=1.
  • The server has already been running for too long and has to be restarted to clean the working memory.
  • The current page contains too many COA_INT elements.

Question 3

Question
If you have the impression that page reproduction is taking an unusually long time, it would be useful to have some figures to back this up. How can you measure the time taken to reproduce a page in the frontend? (2)
Answer
  • The Info > Rendering module provides detailed statistics in the backend.
  • If the TypoScript config.debug = 1 option is set in the setup, the rendering time is written into the source text as a comment.
  • If the TypoScript mod.debug = 1 option is set in the Page TSconfig, the rendering time is displayed under the page contents.
  • The Admin Panel allows you to check rendering times.
  • You need a special extension to display rendering times.

Question 4

Question
What is cached in TYPO3? (4)
Answer
  • Images in the /fileadmin directory
  • The HTML output of static pages
  • The thumbnails of files in the /fileadmin directory that can be displayed in the Filelist module.
  • Configuration settings
  • TypoScript templates
  • Files that are loaded onto the server using a backend form

Question 5

Question
Where exactly are cached pages saved? (2)
Answer
  • In the typo3temp/ directory, if the following options are set: pageCacheToExternalFiles
  • In the typo3conf/ directory
  • In the cache_* tables in the database
  • In the cache_* fields of the respective table in the database
  • In the location stored in the following key: ['SYS']['caching']['cacheConfigurations']['cache_pages']

Question 6

Question
What happens if you enter the following code in the User TSConfig? (1) options.clearCache { all = 1 pages = 1 }
Answer
  • All caches are deleted automatically every time a page is called.
  • The TYPO3 cache is activated.
  • It allows the administrator to delete the cache.
  • It allows the user to delete the cache.
  • All page caches are deleted.

Question 7

Question
You have written a new news entry using the tt_news extension, but the news is not displayed in the frontend. What can you do in this situation? (2)
Answer
  • Delete the configuration cache.
  • Add the following TypoScript instruction in the root template: config.page.cLearCache = true
  • Add the following TypoScript instruction to the Page TSConfig of the root page: TCEMAIN.clearCacheCmd = all
  • Delete the files in typo3temp/
  • Delete the page cache.

Question 8

Question
TYPO3 caches all pages by default. How do you deactivate this option for individual pages? (1)
Answer
  • Unfortunately, that is not possible. Caching can only be deactivated or activated for all pages.
  • By making the following entry in the TypoScript setup: config.no_cache=1
  • Caching can be deactivated in the page properties.
  • By adding the ID of the page you do not want to cache to the pages-NoCache option in the Install Tool.
Show full summary Hide full summary

Similar

Test 3 (Chapter 3 & 4)
Ma Hi
Test 4 (Chapter 5)
Ma Hi
Chapter 2
Ma Hi
Abschluss Test
Ma Hi
Chapter 4
Ma Hi
Chapter 8 III
Ma Hi
Chapter 1
Ma Hi
Chapter 7
Ma Hi
Chapter 6 II (6.5-6.8)
Ma Hi
Chapter 8 II
Ma Hi
Chapter 5
Ma Hi