2023-05-04 15:23:23 +02:00
|
|
|
config {
|
|
|
|
cache_period = 86400
|
|
|
|
no_cache = 0
|
|
|
|
sendCacheHeaders = 1
|
2023-06-19 10:13:26 +02:00
|
|
|
debug = 1
|
2023-05-04 15:23:23 +02:00
|
|
|
}
|
|
|
|
|
2022-08-09 09:21:45 +02:00
|
|
|
page = PAGE
|
|
|
|
page {
|
2023-05-16 10:15:05 +02:00
|
|
|
10 = USER
|
|
|
|
10 {
|
|
|
|
// Simulates foreign access prior our rendering.
|
|
|
|
// TYPO3 has an internal cache in order to not recalculate timeout.
|
2023-11-09 10:27:43 +01:00
|
|
|
userFunc = WerkraumMedia\EventsExample\UserFunc->accessTsfeTimeout
|
2023-05-16 10:15:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
20 < styles.content.get
|
|
|
|
|
|
|
|
30 = USER
|
|
|
|
30 {
|
|
|
|
// Simulates further long running rendering.
|
|
|
|
// In order to test that our ttl is calculated as expected.
|
2023-11-09 10:27:43 +01:00
|
|
|
userFunc = WerkraumMedia\EventsExample\UserFunc->sleep
|
2023-05-16 10:15:05 +02:00
|
|
|
userFunc {
|
|
|
|
sleep = 0
|
|
|
|
}
|
|
|
|
}
|
2022-08-09 09:21:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
plugin.tx_events {
|
|
|
|
persistence {
|
|
|
|
storagePid = 2
|
|
|
|
}
|
|
|
|
|
|
|
|
settings {
|
|
|
|
sortByDate = start
|
|
|
|
sortOrder = ASC
|
2022-08-29 14:44:36 +02:00
|
|
|
start = 1660158000
|
2022-08-09 09:21:45 +02:00
|
|
|
}
|
|
|
|
}
|
2023-11-29 10:52:57 +01:00
|
|
|
|
|
|
|
config {
|
|
|
|
pageTitleProviders {
|
|
|
|
date {
|
|
|
|
provider = WerkraumMedia\Events\Frontend\PageTitleProvider\DateTitleProvider
|
|
|
|
before = record
|
|
|
|
}
|
|
|
|
event {
|
|
|
|
provider = WerkraumMedia\Events\Frontend\PageTitleProvider\EventTitleProvider
|
|
|
|
before = record
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|