By catch on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
11.4.x
Introduced in version:
11.4.0
Issue links:
Description:
Drupal core includes a block visibility condition to control whether blocks are shown on 404 or 403 pages or not.
This visibility condition added the url.path cache context, which lead to low cache hit rates for the block render cache on 404 and 403 pages.
A new exception_status_code cache context has been added, which returns the status code when there is an exception, or the string '0' when there is no request exception. This is used in the block condition.
Impacts:
Module developers