You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If database cache is disabled, no ValidationEvent is dispatched because of an early return in Drupal\wmpage_cache\Validation\Validation::shouldIgnoreResponse:
// Don't even go through the motion if we are basically disabledif (!$this->storeResponse && !$this->storeTags) {
// Neutral because the page might be cacheable, we just don't care.returnnewCacheableResponseResult(AccessResult::neutral());
}
This isn't right though: the database cache is not used, but I'm still setting a max-age and s-max-age that should be unset if a user is logged in.
The text was updated successfully, but these errors were encountered:
If database cache is disabled, no
ValidationEvent
is dispatched because of an early return inDrupal\wmpage_cache\Validation\Validation::shouldIgnoreResponse
:This isn't right though: the database cache is not used, but I'm still setting a max-age and s-max-age that should be unset if a user is logged in.
The text was updated successfully, but these errors were encountered: