安全 (https) 页面上的非安全 (http) ampHtml 链接?

non-secure (http) ampHtml links on a secure (https) page?

我们能否在通过 https 提供的页面上提供非安全 (http) href 作为 ampHtml rel link? 例如,页面 https://example.com/somecategory/somepage 的页眉中是否可以包含 <link rel="ampHtml" href="http://amp.example.com/somecategory/somepage">

我知道不会出现混合内容问题,因为浏览器不会获取 ampHtml rel link。但是是否还有其他含义,例如 google 在搜索中不显示 amp 页面等?

HTTPS 不是 AMP 的要求。

例如,Google AMP 缓存有一个 Example requesting image using plain HTTP

HTTPS 还有其他优点,但是:它允许您使用 HTTP/2 如果您的服务器支持它,has significant speed advantages and Google uses HTTPS as a ranking signal.

您在 example.com 而不是 amp.example.com 上拥有有效的 SSL/TLS 证书似乎也很不寻常 - 我怀疑您可以 (1) 获得涵盖两者的证书amp.example.comexample.com 或 (2) 从 example.com 提供您的 AMP 网页。这本身与 AMP 无关,但可以让您使用 HTTPS 的上述优势。