Caching and sessions · Question 8 of 12

How do you make the cache of one specific page expire after 15 minutes instead of the default duration?

1 answer is correct. Easy

Show answer

Answer

  • D In the page properties of that page, select 15 minutes in the field "Cache Lifetime" (cache_timeout)

Explanation

The lifetime of the page cache can be controlled in two places: globally via TypoScript with config.cache_period in seconds, and per page in the field Cache Lifetime (cache_timeout) of the page properties. The page value takes precedence over the TypoScript value. In addition, TYPO3 takes start and stop times of content into account and lets the cache expire in time when something becomes visible or invisible there. TCEMAIN.clearCacheCmd expects page UIDs to clear, not a duration.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications