Support multiple main requests with PageCache middleware
1 unresolved thread
Closes #3050383
Merge request reports
Activity
Filter activity
347 348 * The cache ID for this request. 348 349 */ 349 350 protected function getCacheId(Request $request) { 350 // Once a cache ID is determined for the request, reuse it for the duration 351 // of the request. This ensures that when the cache is written, it is only 352 // keyed on request data that was available when it was read. For example, 353 // the request format might be NULL during cache lookup and then set during 354 // routing, in which case we want to key on NULL during writing, since that 355 // will be the value during lookups for subsequent requests. 356 if (!isset($this->cid)) { 351 if (!isset($this->cacheIds[$request])) {
Please register or sign in to reply