diff --git a/Controller/CaptchaController.php b/Controller/CaptchaController.php index 8d2fb1c..345e447 100644 --- a/Controller/CaptchaController.php +++ b/Controller/CaptchaController.php @@ -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; }