Files
vue-seo-layer/testing/expect-seo-down.txt
Jakub Zych d1629439c7 feat: root files from the CMS and the 404 report
- server/middleware/seo-root.ts proxies /robots.txt, /sitemap.xml,
  /sitemap-<name>.xml, /llms.txt and the verification and IndexNow key
  files the site answer lists in root_files, with the backend's status,
  content type and X-Robots-Tag; a backend failure is 503 Retry-After 60
- server/lib/site.ts caches GET /_seo/api/v1/site (300 s, cleared by the
  purge); a backend without it (404) keeps the v0.1.1 behaviour: no root
  proxies, the verification lookup by name
- the 404 report and the verification lookup honour seo.cms and rootFiles
- smoke runs for the layer off (seo.cms and the v0.1.1 enabled switch), the
  CMS down (fail open) and no 404 token; npm run purge:check
2026-11-04 09:26:00 +01:00

10 lines
524 B
Plaintext

# The CMS unreachable (NUXT_SEO_API_BASE on a closed port): pages render
# normally with their own head (fail open); a root file is 503 with
# Retry-After, so crawlers retry; verification lookups fall through.
200 /about contains=<title>Own about | Playground</title> notcontains=About us | Acme noheader=X-Robots-Tag count=application/ld+json:0
200 /plain contains=<title>Plain page | Playground</title>
503 /robots.txt header=Retry-After: 60
503 /sitemap-posts-1.xml header=Retry-After: 60
404 /google0123.html
apicalls 0