Provide a reason for why tslib_fe::set_no_cache() has been triggered
|Priority:||Should have||Due date:|
|Assigned To:||Michael Stucki||% Done:||
$TSFE->set_no_cache() uses t3lib_div::sysLog() to log why the caching had been disabled.
Currently this is always done by identifying the trigger using a backtrace. This is not always helpful, in fact a more precise message would be much more helpful.
The new $reason parameter stays optional, so if it's not supplied, the old behaviour remains (identify and output the trigger).
(issue imported from #M11669)
[TASK] Provide a reason if set_no_cache() is called
Since #20849, we can specify a reason why we call
Provide a reason for all calls done in core.
Reviewed-by: Stefan Neufeind
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov