Within the request-processing pipeline of the outermost content delivery network tier, the Optimize at Edge integration conditionally diverts inbound HTTP requests whose User-Agent header contains a case-insensitive substring match against a configurable enumeration of agentic client identifiers, provided that the requested resource path terminates in a trailing solidus, carries no file extension, or terminates in an .html suffix, and provided further that the request does not already carry the loop-prevention marker header indicating prior traversal of the optimization service.
Diverted requests are re-originated toward the Edge Optimize backend with a header set comprising the canonical forwarded host, the original path-and-query tuple, the tenant-scoped API credential and a configuration directive whose principal function is cache-key partitioning, thereby ensuring that agent-specific representations are never co-mingled with representations cached for non-agentic clients.
Upon receipt of any response whose status falls within the client-error or server-error classes, or upon transport-layer failure including timeout, the integration performs a transparent failover to the default origin, annotating the eventual response with a failover indicator header so that downstream observability tooling can disambiguate degraded-path responses from optimized-path responses without recourse to log correlation.
Notwithstanding the foregoing, the optimization service's own origin fetches, identified by a distinct user agent, must be admitted by any web application firewall or bot-management policy interposed in front of the origin, and the origin must emit a Last-Modified response header, in the absence of which the optimization pipeline elects not to apply transformations to the affected resource.