mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-23 21:06:08 +01:00
Daniel Siepmann
bae680025e
The pages now receive proper cache tags. The import now properly clears those cache tags. That way all corresponding pages will show updated content after import finished. We need one test that executes frontend requests and import command. The separation is therefore removed and tests are streamlined to have a single parent providing all necessary information and setup.
40 lines
794 B
Text
40 lines
794 B
Text
config {
|
|
cache_period = 86400
|
|
no_cache = 0
|
|
sendCacheHeaders = 1
|
|
debug = 1
|
|
}
|
|
|
|
page = PAGE
|
|
page {
|
|
10 = USER
|
|
10 {
|
|
// Simulates foreign access prior our rendering.
|
|
// TYPO3 has an internal cache in order to not recalculate timeout.
|
|
userFunc = Wrm\EventsExample\UserFunc->accessTsfeTimeout
|
|
}
|
|
|
|
20 < styles.content.get
|
|
|
|
30 = USER
|
|
30 {
|
|
// Simulates further long running rendering.
|
|
// In order to test that our ttl is calculated as expected.
|
|
userFunc = Wrm\EventsExample\UserFunc->sleep
|
|
userFunc {
|
|
sleep = 0
|
|
}
|
|
}
|
|
}
|
|
|
|
plugin.tx_events {
|
|
persistence {
|
|
storagePid = 2
|
|
}
|
|
|
|
settings {
|
|
sortByDate = start
|
|
sortOrder = ASC
|
|
start = 1660158000
|
|
}
|
|
}
|