You are here

protected property DuplicateContentPreventionMiddleware::$cdnUserAgents in CDN 8.3

The CDN user agents.

Hardcoded to avoid costly I/O.

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

Type: string[]

File

src/StackMiddleware/DuplicateContentPreventionMiddleware.php, line 91

Class

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

Namespace

Drupal\cdn\StackMiddleware

Code

protected $cdnUserAgents = [
  'amazon cloudfront',
  'akamai',
];