req.topurl

STRING, read-only.

Available in all subroutines.

In an ESI subrequest, contains the URL of the top-level request that ESI processing was enabled on. If the request is not an ESI, req.topurl will be a not set string value.

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.