AMP-Cache-Transform

The AMP-Cache-Transform request header asks an origin for a signed exchange version of an AMP page, transformed for a named AMP cache. Googlebot's smartphone crawler still sends the header on a large share of its requests, although Google Search no longer routes AMP pages through its cache.

Usage

A signed exchange bundles an HTTP response with the publisher's signature, so an intermediary serves the page from its own servers while the browser shows the publisher's URL. The AMP caches used signed exchanges for privacy-preserving prefetch: a search results page fetched the AMP page from the cache before the tap, and the origin saw no request from the reader until the page was opened. The cache needed a transformed, signed variant of the page, which left the origin with the problem of telling a cache's request apart from a reader's request. The AMP-Cache-Transform header solves the problem. A requester lists the caches it fetches for, and the origin answers with a matching signed exchange when one exists, or with the plain page.

The request header is a list of identifiers, each with an optional v parameter. The identifier any says the signed exchange is not meant for a particular cache, so subresource URLs stay as they are. A cache identifier such as google asks for subresource URLs rewritten onto that cache's domain. The v parameter lists the AMP transform versions the requester accepts, as single integers or closed ranges such as 1..3. A requester sending the header also lists application/signed-exchange in its Accept header, since the signed variant is a different media type.

On the response side, a server able to satisfy one of the identifiers answers with a signed exchange and an outer AMP-Cache-Transform response header naming the cache identifier the exchange was transformed for, or any, plus the transform version used. When several versions fit, the highest one is the expected choice. Any server negotiating on the header adds Vary: AMP-Cache-Transform to every response, signed or unsigned, and in practice Vary: Accept as well, so caches keep the signed and plain variants apart. A server with no signed exchange pipeline ignores the header and serves the normal page. The specification names the plain response as the correct fallback.

Why Googlebot still sends the header

Google Search dropped the AMP viewer, the AMP Cache and signed exchanges from its AMP documentation and sends readers directly to the AMP page on the publisher's own host. Publishers no longer need to update the cache or configure signed exchanges, and AMP pages rank under the same rules as any other page. The crawler kept the request profile from the signed exchange era: probe data from verified crawler traffic shows the smartphone crawler placing AMP-Cache-Transform directly after Host, with application/signed-exchange in its Accept header, while the desktop and image crawlers send neither. No other verified crawler sends the header.

For a site, the header is a leftover rather than an instruction. The right answer to a request carrying the header is the normal HTML page. Serving a signed exchange to Googlebot gains nothing in Search, so an AMP signed exchange pipeline kept alive for Google can be retired, and the usual Cache-Control and Vary rules for the plain page apply. Log analysis treats the header as a marker of Googlebot's smartphone crawl rather than as proof of identity: any client sets any request header, and verification of a Googlebot claim rests on reverse DNS and Google's published IP ranges, the same path User-Agent verification takes.

Values

any

The signed exchange is not bound to a particular cache, so the origin may leave subresource URLs unchanged.

cache identifier

A cache identifier, google for the Google AMP Cache, asks for a signed exchange with subresource URLs rewritten onto that cache's domain. The optional v parameter carries the accepted transform versions. google;v="1..3,5" accepts versions 1, 2, 3 or 5. Identifiers the server does not recognize, and parameters it cannot parse, make only the one identifier unsatisfiable, and the server moves on to the next one in the list.

Example

A Googlebot smartphone request as it arrives at an origin. The header order matches observed crawler traffic, and the version range follows the specification's own example, since the exact range Google asks for changes over time.

GET /news/launch-day HTTP/1.1
Host: www.example.re
AMP-Cache-Transform: google;v="1..3,5"
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/signed-exchange;v=b3,application/xml;q=0.9,*/*;q=0.8
From: googlebot(at)googlebot.com
User-Agent: Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/W.X.Y.Z Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
Accept-Encoding: gzip, deflate, br

An origin without a signed exchange pipeline answers with the ordinary page and no AMP-Cache-Transform response header.

HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Cache-Control: max-age=300
Vary: Accept-Encoding
Content-Encoding: br

An origin that still produces signed exchanges and matches the google identifier answers with the signed variant and names the version used. The Vary header appears on the signed and the plain response alike.

HTTP/1.1 200 OK
Content-Type: application/signed-exchange;v=b3
AMP-Cache-Transform: google;v=3
Vary: AMP-Cache-Transform, Accept
Cache-Control: max-age=300

Crawlers and AMP-Cache-Transform

Googlebot's smartphone crawler is the only verified crawler sending AMP-Cache-Transform. The desktop and image crawlers, Bingbot and the AI crawlers never send the header, so a request carrying the header points at Google's mobile-first indexing fetches.

Verified crawler probe

Probe data from verified crawler traffic (November 2026 snapshot) shows which bots send AMP-Cache-Transform when requesting pages. Yes marks the header on at least nine of ten sampled requests from the bot, Sometimes marks a smaller share, and No marks absence.

Crawler Sends AMP-Cache-Transform
Amazonbot No
Applebot No
Baiduspider No
Bingbot No
ClaudeBot No
DuckDuckBot No
GPTBot No
Googlebot No
Googlebot (smartphone) Sometimes
Googlebot-Image No
Meta-ExternalAgent No
Meta-WebIndexer No
OAI-SearchBot No
PerplexityBot No
SeznamBot No
YandexBot No
YandexFavicons No

History

The header grew out of the AMP project's signed exchange work in 2018, when the Google AMP Cache started prefetching AMP pages as signed exchanges. The AMP project requested a provisional registration with IANA in early 2019, and the header remains provisional in the registry, with the specification living in the AMP HTML repository rather than in an IETF document.

On 1 July 2026 Google removed the AMP viewer, the AMP Cache and signed exchanges from its Search documentation, noting that publishers no longer need to update the AMP cache or configure signed exchanges. Googlebot's smartphone requests kept sending the header after the documentation change.

See also

Last updated: November 3, 2026