Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HttpCache.php

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\HttpCache

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal