plume/origin_agent_cluster

Origin-Agent-Cluster

This response header requests that the document be placed in an origin-keyed agent cluster, isolating it from other same-site cross-origin documents. This prevents synchronous scripting access between them and may let the browser give the origin its own process or thread.

See the MDN docs.

Types

An Origin-Agent-Cluster header value.

pub type OriginAgentCluster {
  Enabled
  Disabled
}

Constructors

  • Enabled

    Requests origin-keyed agent clustering. Plume default.

  • Disabled

    Requests site-keyed agent clustering. Browser default.

Values

pub fn to_string(value: OriginAgentCluster) -> String

Encode as the Origin-Agent-Cluster header value.

Search Document