protected function HttpCache::pass

Forwards the Request to the backend without storing the Response in the cache.

Parameters

Request $request A Request instance:

Boolean $catch Whether to process exceptions:

Return value

Response A Response instance

3 calls to HttpCache::pass()
HttpCache::handle in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
@api
HttpCache::invalidate in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
Invalidates non-safe methods (like POST, PUT, and DELETE).
HttpCache::lookup in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
Lookups a Response from the cache for the given Request.

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/HttpCache.php, line 240

Class

HttpCache
Cache provides HTTP caching.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

protected function pass(Request $request, $catch = false) {
  $this
    ->record($request, 'pass');
  return $this
    ->forward($request, $catch);
}