3. Performance Flashcards

Performance of the TYPO3 cms

1
Q

3.1.1 Which actions are required to activate caching in a newly installed TYPO3 instance? (1)

  1. The “Enable Cache” check box has to be activated during the installation.
  2. The “Enable Cache” setting in the “Install Tool → All configuration” section has to be selected.
  3. Nothing needs to be done. TYPO3 caching is activated by default.
  4. The installation has to be called up once using a special URL:
    http: //example.com/index.php?no_cache=0
  5. Caching has to be activated in the “Caching” module in the backend.
A

Therefore, the correct answer is 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

3.1.2 Page generation takes a long time. Why could this be? (3)

  1. The website is too large – TYPO3 only runs efficiently with up to 100 to 150 pages.
  2. One or more extensions loaded disable caching.
  3. The URL contains the parameter &no_cache=1.
  4. The server has already been running for too long and has to be restarted to free memory.
  5. The page contains too many COA_INT elements.
A

Therefore, the correct answers are 2, 3 and 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3.1.3 How can you measure the time taken to generate a page in the frontend? (2)

  1. The “INFO → Rendering” module in the backend provides detailed statistics.
  2. If the TypoScript config.debug = 1 option is set in the setup, the rendering time is written into the source text as a comment.
  3. If the TypoScript mod.debug = 1 option is set in the Page TSconfig, the rendering is written into the source text as a comment.
  4. The Admin Panel allows you to check rendering times.
  5. Page rendering times are stored in the database table pages with every request.
A

Therefore, the correct answers are 2 and 4.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

3.1.4 What is cached in TYPO3? (4)

  1. Compressed versions of .docx and .xlsx files.
  2. The HTML output of static pages.
  3. The thumbnails of files in the fileadmin/ directory that can be displayed in the Filelist module.
  4. Configuration settings.
  5. TypoScript templates.
  6. Files that are loaded onto the server using a backend form.
A

Therefore, the correct answers are 2, 3, 4 and 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

3.1.5 Where exactly are cached pages saved by default? (2)

  1. In the typo3temp/ directory, if the pageCacheToExternalFiles option is set.
  2. In the typo3conf/ directory.
  3. In the cf_cache_* tables in the database.
  4. In the cf_cache_* fields of the respective table in the database.
  5. In the location configured by the following key (to overwrite the default):
    [‘SYS’][‘caching’][‘cacheConfigurations’][‘cache_pages’]
A

Therefore, the correct answers are 3 and 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

3.1.6 What happens if you enter the following code in the User TSconfig? (1)

options.clearCache {
all = 1
pages = 1
}

  1. All caches are deleted automatically every time a page is called.
  2. The TYPO3 cache is activated.
  3. It allows the administrator to delete the cache.
  4. It allows the user to delete the cache.
  5. All page caches are deleted.
A

Therefore, the correct answer is 4.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

3.1.7 You have written a new news entry using the “news” extension, but the article is not displayed in the frontend. What can you do in this situation? (2)

  1. Restart the web server.
  2. Add the following TypoScript in the root template:
    config. page.clearCache = true
  3. Add the following TypoScript to the Page TSconfig of the root page: TCEMAIN.clearCacheCmd = all
  4. Delete all files in the typo3temp/ directory.
  5. Delete the page cache.
A

Therefore, the correct answers are 3 and 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

3.1.8 TYPO3 caches all pages by default. How do you deactivate this option for individual pages? (1)

  1. That is not possible – caching can only be deactivated or activated for all pages.
  2. By making the following entry in the TypoScript setup in a global context: config.no_cache = 1
  3. Caching can be deactivated in the page properties.
  4. By adding the UID of the page you do not want to cache to the pagesNoCache option in the Install Tool.
A

Therefore, the correct answer is 3.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

3.1.9 You want to cache the contents of a specific page for exactly 7 days. How can you achieve this? (2)

  1. By installing and configuring the extension cache_expiry.
  2. TYPO3 does not support cache expiration for specific pages - only globally.
  3. Set caching to 7 days in the page properties.
  4. An option is available for this purpose in the Page TSconfig (time is given in minutes):
    page. cacheExpires = 72460
  5. In TypoScript setup, use the option (time is given in seconds): config.cache_period = 604800
A

Therefore, the correct answers are 3 and 5.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly