function HttpCache::pass
Forwards the Request to the backend without storing the Response in the cache.
Parameters
bool $catch Whether to process exceptions:
3 calls to HttpCache::pass()
- HttpCache::handle in vendor/
symfony/ http-kernel/ HttpCache/ HttpCache.php - Handles a Request to convert it to a Response.
- HttpCache::invalidate in vendor/
symfony/ http-kernel/ HttpCache/ HttpCache.php - Invalidates non-safe methods (like POST, PUT, and DELETE).
- HttpCache::lookup in vendor/
symfony/ http-kernel/ HttpCache/ HttpCache.php - Lookups a Response from the cache for the given Request.
File
-
vendor/
symfony/ http-kernel/ HttpCache/ HttpCache.php, line 258
Class
- HttpCache
- Cache provides HTTP caching.
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
protected function pass(Request $request, bool $catch = false) : Response {
$this->record($request, 'pass');
return $this->forward($request, $catch);
}