FinishResponseSubscriber::RESPONSE_HEADER_LINE_MAX_LENGTH
The character length limit for Drupal cache headers.
This is used for the 'X-Drupal-Cache-Tags' and 'X-Drupal-Cache-Contexts' headers. Apache has a hardcoded limit of 8190 bytes for response header line length, so this value is set slightly below that.
File
-
core/
lib/ Drupal/ Core/ EventSubscriber/ FinishResponseSubscriber.php, line 32
Class
- FinishResponseSubscriber
- Response subscriber to handle finished responses.
Namespace
Drupal\Core\EventSubscriberCode
protected const RESPONSE_HEADER_LINE_MAX_LENGTH = 8000;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.