Taking the advice from this article , and the Cache-Control directives I set up worked for me - by pressing the button of a button a request to the server was always sent.
$response->headers->addCacheControlDirective('no-cache', true); $response->headers->addCacheControlDirective('max-age', 0); $response->headers->addCacheControlDirective('must-revalidate', true); $response->headers->addCacheControlDirective('no-store', true);
source share