Merge pull request #103 from kuborgh/cache
HTTP 1.1 equivalent to Pragma: no-cache
This commit is contained in:
commit
62e44cd388
@ -54,6 +54,7 @@ class CaptchaController extends Controller
|
||||
$response = new Response($generator->generate($options));
|
||||
$response->headers->set('Content-type', 'image/jpeg');
|
||||
$response->headers->set('Pragma', 'no-cache');
|
||||
$response->headers->set('Cache-Control','no-cache');
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user