Add additional url argument to prevent caching

This commit is contained in:
Björn Fromme
2019-08-15 16:06:30 +02:00
parent f621f2fec9
commit 697ffed963
@@ -79,6 +79,9 @@ class AjaxViewHelper extends ActionViewHelper
// Force absolute urls
$arguments['absolute'] = true;
// Add timestamp as additional argument to prevent caching
$arguments['additionalParams'] = ['t' => time()];
return parent::renderStatic(
$arguments,
$renderChildrenClosure,