function Store::getCacheKey
Returns a cache key for the given Request.
7 calls to Store::getCacheKey()
- Store::doPurge in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Purges data for the given URL.
- Store::invalidate in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Invalidates all cache entries that match the request.
- Store::isLocked in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Returns whether or not a lock exists.
- Store::lock in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Tries to lock the cache for a given Request, without blocking.
- Store::lookup in vendor/
symfony/ http-kernel/ HttpCache/ Store.php - Locates a cached Response for the Request provided.
File
-
vendor/
symfony/ http-kernel/ HttpCache/ Store.php, line 436
Class
- Store
- Store implements all the logic for storing cache metadata (Request and Response headers).
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
private function getCacheKey(Request $request) : string {
if (isset($this->keyCache[$request])) {
return $this->keyCache[$request];
}
return $this->keyCache[$request] = $this->generateCacheKey($request);
}