server.identity

STRING, read-only.

Available inall subroutines.

Same as server.hostname but also explicitly includes the POP identifier as the last three characters (e.g., cache-jfk1034-JFK or cache-iad-kiad7000001-IAD).

Newer generations of cache servers now include the POP identifier in server.hostname, rendering server.identity largely redundant.

HINT: server.pop is a better source for the POP identifier.

User contributed notes

BETA

Do you see an error in this page? Do you have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact Fastly support)