Max Potential First Input Delay
400 msThe maximum potential First Input Delay that your users could experience is the duration of the longest task. Learn more about the Maximum Potential First Input Delay metric.
正文
578
操作候选
5
内/外链
27/55
HTML
11 KB

duolingo.com
多邻国学外语,学会、玩会,还免费!
免费、好玩又高效的超多课程,带你学习各种语言和其他更多技能。为学习者量身定制练习,通过科学设计的精巧单元,让你学会、玩会,还免费!
The maximum potential First Input Delay that your users could experience is the duration of the longest task. Learn more about the Maximum Potential First Input Delay metric.
Errors logged to the console indicate unresolved problems. They can come from network request failures and other browser concerns. Learn more about this errors in console diagnostic audit
Time to Interactive is the amount of time it takes for the page to become fully interactive. Learn more about the Time to Interactive metric.
Redirects introduce additional delays before the page can be loaded. Learn how to avoid page redirects.
Deprecated APIs will eventually be removed from the browser. Learn more about deprecated APIs.
Third-party cookies may be blocked in some contexts. Learn more about preparing for third-party cookie restrictions.
Consider reducing the time spent parsing, compiling and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to minimize main-thread work
Consider reducing the time spent parsing, compiling, and executing JS. You may find delivering smaller JS payloads helps with this. Learn how to reduce Javascript execution time.
Set an explicit width and height on image elements to reduce layout shifts and improve CLS. Learn how to set image dimensions
When a button doesn't have an accessible name, screen readers announce it as "button", making it unusable for users who rely on screen readers. Learn how to make buttons more accessible.
Low-contrast text is difficult or impossible for many users to read. Learn how to provide sufficient color contrast.
Disabling zooming is problematic for users with low vision who rely on screen magnification to properly see the contents of a web page. Learn more about the viewport meta tag.
可被 AI 搜索引擎稳定抓取(67/100)(已有 1 组 JSON-LD 实体、XML 站点地图),但在机器可读与引用结构上仍有提升空间。首要补齐项:llms.txt 大模型索引文件、可引用的事实、规格与具体数据。
能抓到首页(首包 100%),但缺少 /llms.txt 与 可核验数据/定价,回答深度问题时容易被信息更结构化的竞品替代。
[1]多邻国学外语,学会、玩会,还免费!· duolingo.com
敲了 /llms.txt 的门没拿到有效目录,只能自己从整页 HTML 里猜哪些是核心文档和定价页。
在站点根目录提供 text/plain 类型的 /llms.txt:包含 # 品牌名、一句精准产品定义,以及分组列出的核心页面、文档与定价 Markdown 链接。
| 页面路径 | 状态 | 页面标题 | H1 / Canonical | 词数 | 检出问题 |
|---|---|---|---|---|---|
| / | 200 | 多邻国学外语,学会、玩会,还免费! | H1×3 · canon ✓ · LD ✓ | 578 | 多 H1 |
| /terms | 200 | Duolingo | H1×0 · canon ✓ | 0 | 缺 H1正文过短标题重复摘要重复 |
| /privacy | 200 | Duolingo | H1×0 · canon ✓ | 0 | 缺 H1正文过短标题重复摘要重复 |
| / | 200 ↪ | Duolingo | H1×0 · canon ✓ | 0 | 缺 H1正文过短标题重复摘要重复 |
| /gift | 200 | Duolingo | H1×0 · canon ✓ | 0 | 缺 H1正文过短标题重复摘要重复 |
| /help | 200 | Duolingo | H1×0 · canon ✓ | 0 | 缺 H1正文过短标题重复摘要重复 |
| /chess | 200 | Duolingo Chess - Play Games - Learn Chess Online - For Free | H1×0 · canon ✓ | 0 | 缺 H1正文过短 |
| /super | 200 | Duolingo | H1×0 · canon ✓ | 0 | 缺 H1正文过短标题重复摘要重复 |
| /courses | 200 | Duolingo | H1×0 · canon ✓ | 0 | 缺 H1正文过短标题重复摘要重复 |
/llms.txt高优ChatGPT、Claude 与编码代理会优先查找 /llms.txt,直接获取产品定义、定价与核心文档入口。
/pricing高优“多少钱 / 有没有免费版”是用户向 AI 提问最高频的问题之一,缺少公开定价页会直接损失商业对比推荐。
/compare高优AI 搜索中“A 和 B 怎么选 / X 替代品”类提问占比极高,带真实规格对比表的页面引用率远高于普通宣传页。
/changelog中优带明确日期的更新日志或技术专栏能证明产品持续演进,为 AI 引擎提供可靠的时效性依据。
# 多邻国学外语,学会、玩会,还免费! > 免费、好玩又高效的超多课程,带你学习各种语言和其他更多技能。为学习者量身定制练习,通过科学设计的精巧单元,让你学会、玩会,还免费! ## Core Pages - [Homepage](https://www.duolingo.com/): 免费、好玩又高效的超多课程,带你学习各种语言和其他更多技能。为学习者量身定制练习,通过科学设计的精巧单元,让你学会、玩会,还免费! - [Duolingo](https://www.duolingo.com/gift) - [Duolingo](https://www.duolingo.com/help) - [Duolingo Chess - Play Games - Learn Chess Online - For Free](https://www.duolingo.com/chess) - [Duolingo](https://www.duolingo.com/super) - [Duolingo](https://www.duolingo.com/courses) ## Company & Trust - [Duolingo](https://www.duolingo.com/terms) - [Duolingo](https://www.duolingo.com/privacy) ## Key Topics - 多邻, 邻国, 外语, 国学, 多邻国, 学外, duolingo, 学习
GEO 优化指令(直接粘贴给 AI Agent)
根据本次实测缺失的 llms.txt、robots.txt、JSON-LD 与可引用结构自动生成
# https://www.duolingo.com/ 的 GEO(AI 搜索与引用优化)改造指令 当前 GEO 总分:67/100(AI 入口 18/25 · 结构化实体 22/25 · 内容可引用性 10/25 · 可信来源 17/25) 实测信号:robots.txt 已配置,/llms.txt 缺失,sitemap 已配置,JSON-LD 1 组(Organization),首包 HTML 文本 1134 字符。 ## 修改边界 - 先阅读现有代码结构,保留真实业务文案、登录流程、价格与品牌语气。 - 严禁编造虚假客户案例、统计数字或无依据的 FAQ 参数。 - 确保 `/llms.txt`、`/robots.txt` 与 `/sitemap.xml` 返回正确的 `text/plain` 或 `application/xml` 响应头,不能回落成 SPA HTML 页面。 ## 优先改进项 1. [ACCESS · 0/7] llms.txt 大模型索引文件 - 实测依据:/llms.txt HTTP 200 - 建议改动:在站点根目录提供 text/plain 类型的 /llms.txt:包含 # 品牌名、一句精准产品定义,以及分组列出的核心页面、文档与定价 Markdown 链接。 2. [CONTENT · 0/7] 可引用的事实、规格与具体数据 - 实测依据:0 concrete factual tokens - 建议改动:把空泛形容词替换成可核验事实:清晰定价、支持平台与协议、真实性能边界或合规标准。 3. [CONTENT · 0/6] 列表、表格与代码块等结构化块 - 实测依据:0 structured content blocks - 建议改动:将核心特性、版本对比或快速上手步骤整理为语义化的 <ul>/<ol>、<table>、<dl> 或 <pre><code> 结构块。 4. [TRUST · 0/6] 内容时效与更新时间戳 - 实测依据:no timestamp signal - 建议改动:在 JSON-LD 中补充 datePublished/dateModified,或在更新日志/文章区使用 <time datetime='YYYY-MM-DD'> 与 HTTP Last-Modified。 5. [SCHEMA · 3/5] 语义化地标与标题层级 - 实测依据:H1×3 · H2×5 · landmarks: main - 建议改动:使用 <main> 包裹正文区域,确保全页仅有一个明确描述产品的 <h1>,并用 <h2> 划分核心章节。 6. [CONTENT · 3/5] FAQ 与直接问答结构 - 实测依据:FAQ link - 建议改动:使用原生 <details>/<summary> 增加 3–5 条真实高频问答(并配套 FAQPage JSON-LD),直接回答定价、适用场景与接入方式。 7. [TRUST · 3/5] 独立域名、HTTPS 与图片语义描述 - 实测依据:HTTPS · custom domain · alt 10% (2/21) - 建议改动:绑定正式独立 HTTPS 域名,并为产品截图与架构图补全准确、简明的 alt 语义描述。 ## 验收方式 - 用 `curl -i` 分别请求 `/robots.txt`、`/llms.txt` 与 `/sitemap.xml`,确认状态码为 200 且不是 HTML 软 404。 - 用无 JS 的 `curl -sL https://www.duolingo.com/` 检查首包 HTML,确认核心 H1、产品定义、关键参数与 `<script type="application/ld+json">` 均已直出。 - 校验 JSON-LD 为合法 JSON,确认 `canonical` 与 `html[lang]` 与线上路由一致。
绿色角色与圆角立体按钮建立轻松基调,长篇功能解释留到首屏之后。
绿色开始按钮与白色已有帐户按钮形成直接对照,手机上两者都保持整行宽度。
手机插图上方与标题下方空白较多,两个行动位于很靠下的位置。
在较矮的手机视口缩减英雄区纵向留白,保证开始与已有帐户同时可见;保留角色大小和正常文字字号。
ABCDEFGHIJKLMNOPQRSTUVWXYZ · 0123456789
绿色猫头鹰、厚实按钮与大量白色空间,把学习入口做得像一个友好的游戏开始画面。
字阶比例
32px / 17px
标题约为正文 1.88×
阅读节奏
行高 20px
字重 700 · 字距 normal
圆角轮廓
/* Extracted design tokens from duolingo.com via VibeCheck */
:root {
--color-bg: #ffffff;
--color-surface: #f4f4f4;
--color-ink: #4b4b4b;
--color-accent: #58cc02;
--color-muted: #6cd41c;
--font-display: "duolingo-sans", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
--font-body: "sans-serif", system-ui, -apple-system, "PingFang SC", "Noto Sans SC", sans-serif;
--text-h1: 32px;
--text-body: 17px;
--leading-body: 20px;
--tracking-display: normal;
--radius-button: 0px;
--space-section: 0px;
/* Source custom properties sample */
--rtl-sign: 1;
--color-eel: 75, 75, 75;
--color-fox: 255, 150, 0;
--color-ice: 225, 253, 255;
--color-owl: 88, 204, 2;
--color-pig: 245, 164, 164;
--color-crab: 255, 120, 120;
--color-duck: 251, 229, 109;
}参数来自页面元素采样,空值表示未取得;不将单个元素的参数当作全站规范。
手机插图上方与标题下方空白较多,两个行动位于很靠下的位置。
→ 在较矮的手机视口缩减英雄区纵向留白,保证开始与已有帐户同时可见;保留角色大小和正常文字字号。
mobile.png: large vertical whitespace around hero没有 Strict-Transport-Security,第一次访问仍可能被降到 http。浏览器不会钉死 HTTPS。
→ 在边缘设置 Strict-Transport-Security: max-age=31536000; includeSubDomains。
strict-transport-security missingCSP 是限制脚本源的标准做法。vibe 页面常常什么都加载,包括被注入的脚本。
→ 先开 report-only CSP,再收成 default-src 'self' 和明确的 script-src。
content-security-policy missing没有 nosniff,浏览器可能按错误类型解释文件。这是一行响应头。
→ 设置 X-Content-Type-Options: nosniff。
x-content-type-options missing默认 referrer 可能把站内路径和查询串漏给第三方。
→ 设置 Referrer-Policy: strict-origin-when-cross-origin。
referrer-policy missing按需切换修复当前页、做同款参考、导出 DESIGN.md 或保存为项目级 SKILL.md。
请基于 https://duolingo.com 的 2026-09-05T03:20:35.986Z 页面快照优化当前项目。先确认当前实现与快照差异,不要把已变化的内容重新改回旧版。
设计基线
桌面将角色画面和价值说明左右并置,开始与已有帐户形成主次关系,语言课程条承接下一部分;后续用教学、动力、个性化和移动学习章节解释产品。手机纵向排列插图与标题,操作放在首屏下沿。重点是角色、文字、操作三个层级,而非把所有内容都卡片化。
{
"colors": [
{
"role": "bg",
"hex": "#ffffff"
},
{
"role": "surface",
"hex": "#f4f4f4"
},
{
"role": "ink",
"hex": "#4b4b4b"
},
{
"role": "accent",
"hex": "#58cc02"
},
{
"role": "muted",
"hex": "#6cd41c"
}
],
"fonts": {
"body": "sans-serif",
"display": "duolingo-sans",
"stack": [
"sans-serif",
"duolingo-sans"
]
},
"radius": {
"button": "0px",
"card": "",
"field": ""
},
"space": {
"section": "0px",
"card": ""
},
"type": {
"h1": "32px",
"body": "17px",
"weight": "700",
"lineHeight": "20px",
"letterSpacing": "normal"
}
}
数据来自同次页面采集;字体、圆角和间距为具体元素采样,不代表全站唯一设计规范。空值为未取得。HTML 为源码体积,不是压缩传输量;脚本数为 DOM 标签数,不是请求数。
执行事项
1. 手机首屏可更紧凑
在较矮的手机视口缩减英雄区纵向留白,保证开始与已有帐户同时可见;保留角色大小和正常文字字号。
依据: mobile.png: large vertical whitespace around hero
2. 没有 HSTS 响应头
在边缘设置 Strict-Transport-Security: max-age=31536000; includeSubDomains。
依据: strict-transport-security missing
3. 没有 Content-Security-Policy
先开 report-only CSP,再收成 default-src 'self' 和明确的 script-src。
依据: content-security-policy missing
4. 没有 X-Content-Type-Options
设置 X-Content-Type-Options: nosniff。
依据: x-content-type-options missing
5. 没有 Referrer-Policy
设置 Referrer-Policy: strict-origin-when-cross-origin。
依据: referrer-policy missing
验收
- 在 1440×900 和 390×844 分别核对文字、布局和主要操作“开始”。
- 保留已有品牌、登录和业务链路,不从静态截图推断交互故障。
- 只修复有证据的项;涉及安全响应头时先用报告模式验证现有资源及认证兼容性。
- 对比修改前后的截图,并执行相关功能测试。不要声称未经测试的功能已通过。