You are here

protected property DuplicateContentPreventionMiddleware::$cdnOnlyRequestHeaders in CDN 8.3

The request headers only set by CDN user agents.

Hardcoded to avoid costly I/O.

@note To add more CDN-only request headers, file a feature request at https://www.drupal.org/node/add/project-issue/cdn

Type: string[]

File

src/StackMiddleware/DuplicateContentPreventionMiddleware.php, line 101

Class

DuplicateContentPreventionMiddleware
Redirects CDN user agents' requests for HTML to the canonical location.

Namespace

Drupal\cdn\StackMiddleware

Code

protected $cdnOnlyRequestHeaders = [
  'CF-RAY',
];