class HttpCache

Cache provides HTTP caching.

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of HttpCache

2 files declare their use of HttpCache

File

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

Namespace

Symfony\Component\HttpKernel\HttpCache
View source

Members

Namesort descending Modifiers Type Description Overrides
HttpCache::$esi private property
HttpCache::$esiCacheStrategy private property
HttpCache::$kernel private property
HttpCache::$request private property
HttpCache::$store private property
HttpCache::$traces private property
HttpCache::fetch protected function Forwards the Request to the backend and determines whether the response should be stored.
HttpCache::forward protected function Forwards the Request to the backend and returns the Response.
HttpCache::getEsi public function Gets the Esi instance
HttpCache::getKernel public function Gets the Kernel instance
HttpCache::getLog public function Returns a log message for the events of the last request processing.
HttpCache::getRequest public function Gets the Request instance associated with the master request.
HttpCache::getStore public function Gets the current store.
HttpCache::getTraces public function Returns an array of events that took place during processing of the last request.
HttpCache::handle public function @api Overrides HttpKernelInterface::handle
HttpCache::invalidate protected function Invalidates non-safe methods (like POST, PUT, and DELETE).
HttpCache::isFreshEnough protected function Checks whether the cache entry is "fresh enough" to satisfy the Request.
HttpCache::isPrivateRequest private function Checks if the Request includes authorization or other sensitive information that should cause the Response to be considered private by default.
HttpCache::lock protected function Locks a Request during the call to the backend.
HttpCache::lookup protected function Lookups a Response from the cache for the given Request.
HttpCache::pass protected function Forwards the Request to the backend without storing the Response in the cache.
HttpCache::processResponseBody protected function
HttpCache::record private function Records that an event took place.
HttpCache::restoreResponseBody private function Restores the Response body.
HttpCache::store protected function Writes the Response to the cache.
HttpCache::terminate public function @api Overrides TerminableInterface::terminate
HttpCache::validate protected function Validates that a cache entry is fresh.
HttpCache::__construct public function Constructor.
HttpKernelInterface::MASTER_REQUEST constant
HttpKernelInterface::SUB_REQUEST constant