diff --git a/book/http_cache.rst b/book/http_cache.rst index 0bf1a145a9b..76879a288a6 100644 --- a/book/http_cache.rst +++ b/book/http_cache.rst @@ -917,7 +917,7 @@ Here is how you can configure the Symfony reverse proxy to support the if ($this->getStore()->purge($request->getUri())) { $response->setStatusCode(200, 'Purged'); } else { - $response->setStatusCode(200, 'Not found'); + $response->setStatusCode(404, 'Not found'); } return $response;