Merge pull request #102 from kuborgh/cache

Added no-cache header
This commit is contained in:
Grégoire Passault 2014-08-27 13:06:49 +02:00
commit 1c542e1164
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ class CaptchaController extends Controller
$response = new Response($generator->generate($options));
$response->headers->set('Content-type', 'image/jpeg');
$response->headers->set('Pragma', 'no-cache');
return $response;
}