I have an issue with clearing my cache when back button is pressed.
My header information is saying i'ts loaded from cache:
Status Code:200 OK (from cache)
My response is set to:
$response = new Response;
$response->expire();
$response->headers->addCacheControlDirective('must-revalidate', true);
$response->headers->addCacheControlDirective('allow_reload', true);
What am I doing wrong? None of the documentation methods seem to work...