通过缓存原始视图模块查找来优化FCP/LCP

代理到 meta.discourse.org

遗憾的是,使用代理运行 ember 对我来说失败了:

d/ember-cli --environment production --proxy https://meta.discourse.org

http://localhost:4200/

Discourse Build Error

Error [ERR_TLS_CERT_ALTNAME_INVALID]: 主机名/IP 与证书的 altnames 不匹配:
主机:localhost. 不在证书的 altnames 中:DNS:*.cdck-prod-meta.discourse.cloud

http://127.0.0.1:4200/

Discourse Build Error

Error [ERR_TLS_CERT_ALTNAME_INVALID]: 主机名/IP 与证书的 altnames 不匹配:
主机:meta.discourse.org. 不在证书的 altnames 中:DNS:*.cdck-prod-meta.discourse.cloud

用于基准测试的系统

摘自 Firefox about:support

名称 Firefox
版本 95.0.2
Build-ID 20211219102529
Distributions-ID canonical-002
用户代理 Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
操作系统 Linux 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10)
操作系统主题 Adwaita-dark / Adwaita
应用程序文件 /snap/firefox/777/usr/lib/firefox/firefox
名称 Firefox Developer Edition
版本 96.0b10
Build-ID 20211228195952
Update-目录 /opt/firefox-dev-autoinstall
Update-通道 aurora
用户代理 Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
操作系统 Linux 5.10.0-0.bpo.9-amd64 #1 SMP Debian 5.10.70-1~bpo10+1 (2021-10-10)
操作系统主题 Adwaita-dark / Adwaita
应用程序文件 /opt/firefox-dev-autoinstall/firefox-bin

摘自 Chromium chrome://system/

CHROME VERSION 90.0.4430.212 built on Debian 10.9, running on Debian 10.11
OS VERSION Linux: 5.10.0-0.bpo.9-amd64

操作系统版本:

# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian