← /lab
Sitemap
This site's sitemap.xml builds itself. A new experiment appears in it, and in the /lab list, as soon as its page is deployed; nothing needs to be listed by hand.
What this build lists
| Page | Changes | Priority |
|---|---|---|
| / | weekly | 1 |
| /lab | monthly | 0.8 |
| /lab/camera-translate | monthly | 0.6 |
| /lab/sitemap | monthly | 0.6 |
| /lab/speculation-rules | monthly | 0.6 |
| /lab/view-transitions | monthly | 0.6 |
| /lab/web-push | monthly | 0.6 |
How it works
- At build time, the site reads the folders in
src/app/lab. Each one with its own page file (page.tsx) is an experiment. Folders Next.js doesn't turn into a URL (private_x, groups(x), dynamic[x]) are skipped. - The fixed pages (/, /lab) come first, then the experiments, minus the pages excluded on purpose.
- The same list feeds this sitemap and the /lab index, so the two can't disagree. Both are generated once per build: the deployed Worker has no file system to read.
- Entries carry no “last modified” date. The only date available is the build time, which would claim every page changed on every deploy.
Left out on purpose
/offline: Shown by the service worker when offline; marked noindex.- APIs and the share target (
/api/*,/lab/camera-translate/share): they aren't pages.
robots.txt points search engines at the sitemap. The source of truth is src/app/lib/site/routes.ts.