# spiderlint findings # Summary - Rating: B (recommended) - Pages: 16 - Findings: 374 (2 error, 194 warning, 161 info, 17 hint) - Checks passed: 1246 of 1407; 147 rules failed nowhere. ## html/lang/missing (error 8.2) no Where: https://www.debian.org/doc/manuals/project-history/: none Reads: `html.lang`, expects `{"type":"string"}` Fix: Set to the page’s language, as . Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/lang/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Global_attributes/lang Done when: `spiderlint audit https://www.debian.org/ --rules html/lang/missing` reports no html/lang/missing finding, and `spiderlint show-facts https://www.debian.org/doc/manuals/project-history/` shows `html.lang` meeting it. ## html/h1/duplicate (error 7.4) more than one

Where: https://www.debian.org/: “Debian”, “The Community”, “The Operating System”, “Project News” Reads: `html.h1`, expects `{"type":"array","maxItems":1}` Fix: Use exactly one

per page. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/h1/duplicate Reference: https://developer.mozilla.org/docs/Web/HTML/Reference/Elements/Heading_Elements Done when: `spiderlint audit https://www.debian.org/ --rules html/h1/duplicate` reports no html/h1/duplicate finding, and `spiderlint show-facts https://www.debian.org/` shows `html.h1` meeting it. ## http/csp/missing (warning 6.4) no enforced Content-Security-Policy, in a header or a Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `http.csp.directives`, expects `{"type":"object"}` Fix: Send a Content-Security-Policy header that allows only the origins and directives the page needs. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/csp/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/CSP Done when: `spiderlint audit https://www.debian.org/ --rules http/csp/missing` reports no http/csp/missing finding. ## http/alt-svc-h3/missing (warning 5.2) Alt-Svc should advertise h3 Where: 16 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `http.parsed.alt-svc.value`, expects `{"type":"array","contains":{"properties":{"protocol":{"const":"h3"}},"required":["protocol"]}}` Fix: Add h3 to the Alt-Svc header. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/alt-svc-h3/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Alt-Svc Done when: `spiderlint audit https://www.debian.org/ --rules http/alt-svc-h3/missing` reports no http/alt-svc-h3/missing finding. ## html/description/missing (warning 6.0) no meta description Where: 13 pages of group default (93 %), for example: - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none - https://www.debian.org/devel/join/: none Reads: `html.meta.description`, expects `{"type":"string"}` Fix: Add with a summary to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/description/missing Reference: https://developers.google.com/search/docs/appearance/snippet Done when: `spiderlint audit https://www.debian.org/ --rules html/description/missing` reports no html/description/missing finding. ## html/canonical/missing (warning 5.4) no canonical link Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.canonical`, expects `{"type":"string"}` Fix: Add with the page’s absolute URL to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/canonical/missing Reference: https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls Done when: `spiderlint audit https://www.debian.org/ --rules html/canonical/missing` reports no html/canonical/missing finding. ## http/server/disclosing (warning 5.4) the host names its software in meta generator Where: www.debian.org, used by or shared with: - https://www.debian.org/: WML 2.32.0 - https://www.debian.org/CD/vendors/: WML 2.32.0 - https://www.debian.org/contact: WML 2.32.0 - https://www.debian.org/devel/join/: WML 2.32.0 - https://www.debian.org/distrib/: WML 2.32.0 - https://www.debian.org/distrib/pre-installed: WML 2.32.0 - https://www.debian.org/doc/manuals/project-history/: DocBook XSL Stylesheets Vsnapshot - https://www.debian.org/events/merchandise: WML 2.32.0 - https://www.debian.org/intro/people: WML 2.32.0 - https://www.debian.org/license: WML 2.32.0 - https://www.debian.org/mirror/sponsors: WML 2.32.0 - https://www.debian.org/News/: WML 2.32.0 - https://www.debian.org/security/: WML 2.32.0 - https://www.debian.org/support: WML 2.32.0 Reads: `http.headers`, `html.meta.generator`, `resources` Fix: Remove the version from the Server header and drop X-Powered-By and debug headers at the server or proxy. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/server/disclosing Reference: https://developer.mozilla.org/docs/Web/HTTP/Reference/Headers/Server Done when: `spiderlint audit https://www.debian.org/ --rules http/server/disclosing` reports no http/server/disclosing finding. ## http/x-xss-protection/insecure (warning 4.5) X-XSS-Protection should be absent or 0 Where: 16 pages of group default (100 %), for example: - https://www.debian.org/: 1 characters: “1” - https://www.debian.org/CD/vendors/: 1 characters: “1” - https://www.debian.org/contact: 1 characters: “1” Reads: `http.headers`, expects `{"properties":{"x-xss-protection":{"pattern":"^\\s*0\\s*$"}}}` Fix: Remove X-XSS-Protection. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/x-xss-protection/insecure Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/X-XSS-Protection Done when: `spiderlint audit https://www.debian.org/ --rules http/x-xss-protection/insecure` reports no http/x-xss-protection/insecure finding. ## html/og-image/missing (warning 4.6) no og:image Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.property.og:image`, expects `{"type":"string"}` Fix: Add with the absolute URL of a preview image. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-image/missing Reference: https://ogp.me/#metadata Done when: `spiderlint audit https://www.debian.org/ --rules html/og-image/missing` reports no html/og-image/missing finding. ## links/external/unreachable (warning 4.6) the link answers 403 Where: 9 findings: - https://wiki.debian.org/ used by or shared with: - https://www.debian.org/ - https://www.debian.org/intro/people - https://www.debian.org/devel/join/ - https://www.debian.org/support - https://www.debian.org/distrib/ - https://www.debian.org/security/ - https://www.debian.org/News/ - https://www.debian.org/mirror/sponsors - https://www.debian.org/CD/vendors/ - https://www.debian.org/distrib/pre-installed - https://www.debian.org/events/merchandise - https://www.debian.org/contact - https://www.debian.org/license - https://wiki.debian.org/Teams/Publicity used by or shared with: - https://www.debian.org/devel/join/ - https://www.debian.org/contact - https://wiki.debian.org/Cloud/AmazonEC2Image/ used by or shared with: - https://www.debian.org/distrib/ - https://wiki.debian.org/DebianIRC - https://wiki.debian.org/IRC - https://wiki.debian.org/IrcClients used by or shared with: - https://www.debian.org/support - https://wiki.debian.org/DebianMaintainer - https://wiki.debian.org/Teams used by or shared with: - https://www.debian.org/devel/join/ - https://wiki.debian.org/UnattendedUpgrades used by or shared with: - https://www.debian.org/security/ Reads: `site.links`, `html.links.external` Fix: Remove or repoint each broken external link. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/links.html#links/external/unreachable Reference: https://developer.mozilla.org/docs/Web/HTTP/Reference/Status/404 Done when: `spiderlint audit https://wiki.debian.org/ --rules links/external/unreachable` reports no links/external/unreachable finding. ## html/og-title/missing (warning 4.0) no og:title Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.property.og:title`, expects `{"type":"string"}` Fix: Add with the page title. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-title/missing Reference: https://ogp.me/#metadata Done when: `spiderlint audit https://www.debian.org/ --rules html/og-title/missing` reports no html/og-title/missing finding. ## html/og-description/missing (warning 3.9) no og:description Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.property.og:description`, expects `{"type":"string"}` Fix: Add with a summary of the page. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-description/missing Reference: https://ogp.me/#optional Done when: `spiderlint audit https://www.debian.org/ --rules html/og-description/missing` reports no html/og-description/missing finding. ## html/theme-color/missing (warning 3.3) no meta theme-color Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.meta.theme-color`, expects `{"type":"string","minLength":1}` Fix: Add with a color value. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/theme-color/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Element/meta/name/theme-color Done when: `spiderlint audit https://www.debian.org/ --rules html/theme-color/missing` reports no html/theme-color/missing finding. ## url/trailing-slash/inconsistent (warning 4.3) trailing slashes differ in group default: 9 of 15 pages end without /; the others differ Where: https://www.debian.org/devel/join/: end with /, used by or shared with: - https://www.debian.org/devel/join/ - https://www.debian.org/distrib/ - https://www.debian.org/security/ - https://www.debian.org/News/ - https://www.debian.org/doc/manuals/project-history/ - https://www.debian.org/CD/vendors/ Reads: `url.pathname` Fix: Pick one form, with or without the trailing slash, and redirect the other to it. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/url.html#url/trailing-slash/inconsistent Reference: https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash Done when: `spiderlint audit https://www.debian.org/ --rules url/trailing-slash/inconsistent` reports no url/trailing-slash/inconsistent finding. ## html/img-dimensions/missing (warning 6.0) an without width and height shifts the layout as it loads Where: https://www.debian.org/: {"src":"Pics/users.svg","alt":"","width":"512"} Reads: `html.images`, expects `{"items":{"if":{"not":{"required":["noscript"]}},"then":{"required":["width","height"]}}}` Fix: Add width and height attributes to the . Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/img-dimensions/missing Reference: https://web.dev/articles/optimize-cls#images-without-dimensions Done when: `spiderlint audit https://www.debian.org/ --rules html/img-dimensions/missing` reports no html/img-dimensions/missing finding, and `spiderlint show-facts https://www.debian.org/` shows `html.images` meeting it. ## html/img-dimensions/missing (warning 6.0) an without width and height shifts the layout as it loads Where: https://www.debian.org/doc/manuals/project-history/: {"src":"images/next.png","alt":"Next"} Reads: `html.images`, expects `{"items":{"if":{"not":{"required":["noscript"]}},"then":{"required":["width","height"]}}}` Fix: Add width and height attributes to the . Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/img-dimensions/missing Reference: https://web.dev/articles/optimize-cls#images-without-dimensions Done when: `spiderlint audit https://www.debian.org/ --rules html/img-dimensions/missing` reports no html/img-dimensions/missing finding, and `spiderlint show-facts https://www.debian.org/doc/manuals/project-history/` shows `html.images` meeting it. ## html/title/length (warning 5.7) should be 30–60 characters Where: 8 pages: - https://www.debian.org/contact: 27 characters: “Debian -- How to contact us” - https://www.debian.org/devel/join/: 28 characters: “Debian -- How to join Debian” - https://www.debian.org/distrib/: 15 characters: “Download Debian” - https://www.debian.org/doc/manuals/project-history/: 25 characters: “A Brief History of Debian” - https://www.debian.org/events/merchandise: 18 characters: “Debian Merchandise” - https://www.debian.org/license: 24 characters: “Debian WWW Pages License” - https://www.debian.org/News/: 21 characters: “Debian -- Latest News” - https://www.debian.org/support: 22 characters: “Debian -- User Support” Reads: `html.title`, expects `{"type":"string","minLength":30,"maxLength":60}` Fix: Shorten or lengthen <title> to 30–60 characters. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/title/length Reference: https://developers.google.com/search/docs/appearance/title-link Done when: `spiderlint audit https://www.debian.org/ --rules html/title/length` reports no html/title/length finding, and `spiderlint show-facts https://www.debian.org/contact` shows `html.title` meeting it. ## images/weight/large (warning 5.6) a png image is above the weight limit Where: https://www.debian.org/Pics/calamares-installer.png: 282.1 kB: 200 kB, used by or shared with: - https://www.debian.org/ Reads: `resources.images` Fix: Resize or re-compress the image so the file is below the weight limit. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/weight/large Reference: https://developer.mozilla.org/docs/Learn_web_development/Extensions/Performance/Multimedia Done when: `spiderlint audit https://www.debian.org/ --rules images/weight/large` reports no images/weight/large finding. ## images/weight/large (warning 5.6) a jpeg image is above the weight limit Where: 3 findings: - https://www.debian.org/Pics/debconf26_group_photo.jpg: 379.8 kB: 200 kB - https://www.debian.org/Pics/debian-funny-people-1024x576.jpg: 219.4 kB: 200 kB - https://www.debian.org/Pics/mini-dc26-campinas.jpg: 863.6 kB: 200 kB used by or shared with: - https://www.debian.org/ Reads: `resources.images` Fix: Resize or re-compress the image so the file is below the weight limit. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/weight/large Reference: https://developer.mozilla.org/docs/Learn_web_development/Extensions/Performance/Multimedia Done when: `spiderlint audit https://www.debian.org/ --rules images/weight/large` reports no images/weight/large finding. ## html/description/length (warning 5.5) meta description should be 50–160 characters Where: https://www.debian.org/: 163 characters: “Debian is an operating system and a distribution of Free Software. It is maintained and updated through the work of many users who volunteer their time and effort.” Reads: `html.meta.description`, expects `{"type":"string","minLength":50,"maxLength":160}` Fix: Shorten or lengthen the meta description to 50–160 characters. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/description/length Reference: https://developers.google.com/search/docs/appearance/snippet Done when: `spiderlint audit https://www.debian.org/ --rules html/description/length` reports no html/description/length finding, and `spiderlint show-facts https://www.debian.org/` shows `html.meta.description` meeting it. ## images/dimensions/missing (warning 5.4) an <img> without width and height shifts the layout as it loads Where: 2 pages: - https://www.debian.org/: 8 - at Pics/users.svg - at Pics/heartbeat.svg - at Pics/user-plus.svg - at Pics/list.svg - at Pics/trophy.svg - at Pics/life-ring.svg - at Pics/security.svg - at Pics/list.svg - https://www.debian.org/doc/manuals/project-history/: 2 - at images/next.png - at images/next.png Reads: `html.images` Fix: Add width and height attributes to each <img>. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/dimensions/missing Reference: https://web.dev/articles/optimize-cls#images-without-dimensions Done when: `spiderlint audit https://www.debian.org/ --rules images/dimensions/missing` reports no images/dimensions/missing finding. ## html/viewport/missing (warning 5.3) no meta viewport Where: https://www.debian.org/doc/manuals/project-history/: none Reads: `html.meta.viewport`, expects `{"type":"string"}` Fix: Add <meta name=viewport content="width=device-width"> to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/viewport/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Viewport_meta_tag Done when: `spiderlint audit https://www.debian.org/ --rules html/viewport/missing` reports no html/viewport/missing finding, and `spiderlint show-facts https://www.debian.org/doc/manuals/project-history/` shows `html.meta.viewport` meeting it. ## images/format/outdated (warning 5.2) a png image is smaller as avif Where: 2 findings: - https://www.debian.org/Pics/calamares-installer.png: 282.1 kB: 27.7 kB - https://www.debian.org/Pics/debian-logo-1024x576.png: 32.8 kB: 10.2 kB used by or shared with: - https://www.debian.org/ Reads: `resources.images` Fix: Convert the image to WebP or AVIF. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/format/outdated Reference: https://web.dev/articles/choose-the-right-image-format Done when: `spiderlint audit https://www.debian.org/ --rules images/format/outdated` reports no images/format/outdated finding. ## images/format/outdated (warning 5.2) a jpeg image is smaller as avif Where: 5 findings: - https://www.debian.org/Pics/debconf26_group_photo.jpg: 379.8 kB: 102.5 kB - https://www.debian.org/Pics/debian-funny-people-1024x576.jpg: 219.4 kB: 40.4 kB - https://www.debian.org/Pics/debian-swiss-knife-hands-1024x576.jpg: 121.2 kB: 17.9 kB - https://www.debian.org/Pics/mini-dc26-campinas.jpg: 863.6 kB: 61.5 kB - https://www.debian.org/Pics/mini-dc26-hamburg.jpg: 188.4 kB: 40.4 kB used by or shared with: - https://www.debian.org/ Reads: `resources.images` Fix: Convert the image to WebP or AVIF. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/format/outdated Reference: https://web.dev/articles/choose-the-right-image-format Done when: `spiderlint audit https://www.debian.org/ --rules images/format/outdated` reports no images/format/outdated finding. ## url/uppercase/present (warning 5.1) the path has uppercase letters, which a server may treat as another URL Where: 3 pages: - https://www.debian.org/CD/vendors/: 12 characters: “/CD/vendors/” - https://www.debian.org/News/: 6 characters: “/News/” - https://www.debian.org/News/news: 10 characters: “/News/news” Reads: `url.pathname`, expects `{"type":"string","not":{"pattern":"(?<!%)(?<!%[0-9A-Fa-f])[A-Z]"}}` Fix: Use lowercase paths, and redirect each mixed-case path to its lowercase form. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/url.html#url/uppercase/present Reference: https://developers.google.com/search/docs/crawling-indexing/url-structure Done when: `spiderlint audit https://www.debian.org/ --rules url/uppercase/present` reports no url/uppercase/present finding, and `spiderlint show-facts https://www.debian.org/CD/vendors/` shows `url.pathname` meeting it. ## images/compression/weak (warning 4.8) a png image re-encodes smaller Where: 2 findings: - https://www.debian.org/Pics/calamares-installer.png: 282.1 kB: 101.6 kB - https://www.debian.org/Pics/debian-logo-1024x576.png: 32.8 kB: 13.5 kB used by or shared with: - https://www.debian.org/ Reads: `resources.images` Fix: Re-encode the image with a modern tool at a lower quality or smaller dimensions. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/compression/weak Reference: https://web.dev/articles/use-imagemin-to-compress-images Done when: `spiderlint audit https://www.debian.org/ --rules images/compression/weak` reports no images/compression/weak finding. ## images/compression/weak (warning 4.8) a jpeg image re-encodes smaller Where: 5 findings: - https://www.debian.org/Pics/debconf26_group_photo.jpg: 379.8 kB: 178.3 kB - https://www.debian.org/Pics/debian-funny-people-1024x576.jpg: 219.4 kB: 89.6 kB - https://www.debian.org/Pics/debian-swiss-knife-hands-1024x576.jpg: 121.2 kB: 45.1 kB - https://www.debian.org/Pics/mini-dc26-campinas.jpg: 863.6 kB: 120.8 kB - https://www.debian.org/Pics/mini-dc26-hamburg.jpg: 188.4 kB: 91.4 kB used by or shared with: - https://www.debian.org/ Reads: `resources.images` Fix: Re-encode the image with a modern tool at a lower quality or smaller dimensions. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/images.html#images/compression/weak Reference: https://web.dev/articles/use-imagemin-to-compress-images Done when: `spiderlint audit https://www.debian.org/ --rules images/compression/weak` reports no images/compression/weak finding. ## resources/cache-control/weak (warning 4.8) fingerprinted image is cached for less than a year Where: 5 findings: - https://www.debian.org/Pics/debian-funny-people-1024x576.jpg: 604,800: max-age=604800 - https://www.debian.org/Pics/debian-logo-1024x576.png: 604,800: max-age=604800 - https://www.debian.org/Pics/debian-swiss-knife-hands-1024x576.jpg: 604,800: max-age=604800 - https://www.debian.org/Pics/mini-dc26-campinas.jpg: 604,800: max-age=604800 - https://www.debian.org/Pics/mini-dc26-hamburg.jpg: 604,800: max-age=604800 used by or shared with: - https://www.debian.org/ Reads: `resources` Fix: Send Cache-Control: public, max-age=31536000, immutable with every fingerprinted asset. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/resources.html#resources/cache-control/weak Reference: https://developer.mozilla.org/docs/Web/HTTP/Guides/Caching#cache_busting Done when: `spiderlint audit https://www.debian.org/ --rules resources/cache-control/weak` reports no resources/cache-control/weak finding. ## links/internal/redirected (warning 4.6) the link redirects elsewhere Where: 3 findings: - https://www.debian.org/CD/vendors: https://www.debian.org/CD/vendors/ used by or shared with: - https://www.debian.org/intro/people - https://www.debian.org/distrib: https://www.debian.org/distrib/ - https://www.debian.org/News: https://www.debian.org/News/ used by or shared with: - https://www.debian.org/ Reads: `site.redirects`, `html.links.internal` Fix: Make the link target point at the final URL, or serve the content directly. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/links.html#links/internal/redirected Reference: https://developers.google.com/search/docs/crawling-indexing/301-redirects Done when: `spiderlint audit https://www.debian.org/ --rules links/internal/redirected` reports no links/internal/redirected finding. ## resources/compression/missing (warning 4.4) a text image is not served with br, gzip or zstd Where: 7 findings: - https://www.debian.org/Pics/heartbeat.svg: image/svg+xml - https://www.debian.org/Pics/life-ring.svg: image/svg+xml - https://www.debian.org/Pics/list.svg: image/svg+xml - https://www.debian.org/Pics/security.svg: image/svg+xml - https://www.debian.org/Pics/trophy.svg: image/svg+xml - https://www.debian.org/Pics/user-plus.svg: image/svg+xml - https://www.debian.org/Pics/users.svg: image/svg+xml used by or shared with: - https://www.debian.org/ Reads: `resources` Fix: Serve text assets br, zstd or gzip to every client whose Accept-Encoding offers one. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/resources.html#resources/compression/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Guides/Compression Done when: `spiderlint audit https://www.debian.org/ --rules resources/compression/missing` reports no resources/compression/missing finding. ## dns/dmarc-policy/weak (warning 6.2) the DMARC policy neither quarantines nor rejects, so receivers deliver mail forged from a name that takes or sends mail (got “none”) Where: debian.org Reads: `site.hosts.*.mail.dmarc`, expects `{"type":"object","required":["policy"],"properties":{"policy":{"enum":["quarantine","reject"]}}}` Fix: Change the TXT record for DMARC to quarantine mail that fails its checks. - Name: `_dmarc.debian.org` - Content: `v=DMARC1; p=quarantine; rua=mailto:dmarc@debian.org` After a few weeks, read the reports sent to dmarc@debian.org. When every server they list is yours, change `p=quarantine` to `p=reject`. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/dns.html#dns/dmarc-policy/weak Reference: https://www.rfc-editor.org/rfc/rfc9989#section-4.7 Done when: `spiderlint audit https://debian.org/ --rules dns/dmarc-policy/weak` reports no dns/dmarc-policy/weak finding. ## dns/https-record/missing (warning 3.8) no HTTPS record, so a first visit learns h3 and ECH only from Alt-Svc, one connection late Where: www.debian.org Reads: `site.hosts.*.dns.https`, expects `{"minItems":1}` Fix: Add an HTTPS record, so browsers learn on their first visit which protocols the site speaks. - Name: `www.debian.org` - Priority: `1` - Target: `.` - Value: `alpn="h3,h2"` - Zone file: `www.debian.org. 3600 IN HTTPS 1 . alpn="h3,h2"` A Target of `.` means the name itself. Leave `h3` out of the value if the site does not serve HTTP/3. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/dns.html#dns/https-record/missing Reference: https://www.rfc-editor.org/rfc/rfc9460 Done when: `spiderlint audit https://www.debian.org/ --rules dns/https-record/missing` reports no dns/https-record/missing finding. ## icons/apple-touch/missing (warning 3.8) the Apple touch icon is missing or unfit: “14 pages link no apple-touch-icon and https://www.debian.org/apple-touch-icon.png answers 404” Where: https://www.debian.org Reads: `site.origins.*.icons.apple-touch`, expects `{"maxItems":0}` Fix: Serve an opaque 180×180 PNG at /apple-touch-icon.png, or link one with <link rel=apple-touch-icon>. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/icons.html#icons/apple-touch/missing Reference: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html Done when: `spiderlint audit https://www.debian.org/ --rules icons/apple-touch/missing` reports no icons/apple-touch/missing finding. ## origin/entry-redirect/temporary (warning 4.6) entry variants redirect with a temporary status or a meta refresh: “http://www.debian.org/”, “http://debian.org/”, “https://debian.org/”, “http://www.debian.org/?spide…787f-49cc-afb7-8f696afd0d73”, “https://debian.org/?spiderlint=225ed3d5-787f-49cc-afb7-8f696afd0d73” Where: https://www.debian.org Reads: `site.origins.*.variants.temporary`, expects `{"maxItems":0}` Fix: Answer every entry variant with 301 or 308, never 302, 307 or a meta refresh. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/entry-redirect/temporary Reference: https://developers.google.com/search/docs/crawling-indexing/301-redirects#permanent-server-side Done when: `spiderlint audit https://www.debian.org/ --rules origin/entry-redirect/temporary` reports no origin/entry-redirect/temporary finding. ## http/hsts-subdomains/missing (info 2.5) Strict-Transport-Security should carry includeSubDomains Where: 16 pages of group default (100 %), for example: - https://www.debian.org/: {"max-age":15552000} - https://www.debian.org/CD/vendors/: {"max-age":15552000} - https://www.debian.org/contact: {"max-age":15552000} Reads: `http.parsed.strict-transport-security.value`, expects `{"required":["includesubdomains"]}` Fix: Add includeSubDomains to the Strict-Transport-Security header. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/hsts-subdomains/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Strict-Transport-Security#includesubdomains Done when: `spiderlint audit https://www.debian.org/ --rules http/hsts-subdomains/missing` reports no http/hsts-subdomains/missing finding. ## html/og-url/missing (info 2.5) no og:url Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.property.og:url`, expects `{"type":"string"}` Fix: Add <meta property=og:url> with this page’s absolute URL. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-url/missing Reference: https://ogp.me/#metadata Done when: `spiderlint audit https://www.debian.org/ --rules html/og-url/missing` reports no html/og-url/missing finding. ## http/corp/missing (info 2.1) no Cross-Origin-Resource-Policy Where: 16 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `http.headers.cross-origin-resource-policy`, expects `{"type":["string","array"]}` Fix: Send Cross-Origin-Resource-Policy: same-origin, or same-site if the resource is shared. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/corp/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Cross-Origin-Resource-Policy Done when: `spiderlint audit https://www.debian.org/ --rules http/corp/missing` reports no http/corp/missing finding. ## http/coop/missing (info 2.2) no Cross-Origin-Opener-Policy Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `http.parsed.cross-origin-opener-policy`, expects `{"type":"object"}` Fix: Send Cross-Origin-Opener-Policy: same-origin. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/coop/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Cross-Origin-Opener-Policy Done when: `spiderlint audit https://www.debian.org/ --rules http/coop/missing` reports no http/coop/missing finding. ## html/stylesheet/blocking (info 2.3) more than one stylesheet in <head> blocks rendering Where: 13 pages of group default (93 %), for example: - https://www.debian.org/: 11 items - https://www.debian.org/CD/vendors/: 4 items - https://www.debian.org/contact: 7 items Reads: `html.head.links`, expects `{"minContains":0,"maxContains":1,"contains":{"required":["rel"],"properties":{"rel":{"pattern":"^\\s*(?i:stylesheet)\\s*$"},"media":{"pattern":"^\\s*(?i:all|screen)?\\s*$"}}}}` Fix: Inline the critical CSS and load the rest with media=print onload, or merge the stylesheets into one. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/stylesheet/blocking Reference: https://web.dev/articles/defer-non-critical-css Done when: `spiderlint audit https://www.debian.org/ --rules html/stylesheet/blocking` reports no html/stylesheet/blocking finding. ## http/reporting-endpoints/missing (info 1.5) no Reporting-Endpoints header naming an endpoint Where: 16 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `http.parsed.reporting-endpoints.value`, expects `{"type":"object","minProperties":1}` Fix: Send a Reporting-Endpoints header naming your reporting endpoints. Report Relay https://dbuho.me/project/report-relay/ collects these reports and sends them to your Grafana: open source, self-hosted, free. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/reporting-endpoints/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Reporting-Endpoints Done when: `spiderlint audit https://www.debian.org/ --rules http/reporting-endpoints/missing` reports no http/reporting-endpoints/missing finding. ## html/privacy-policy/missing (info 1.6) no link with rel=privacy-policy Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.rels.privacy-policy`, expects `{"type":"array","minItems":1}` Fix: Add <link rel=privacy-policy href=/privacy> to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/privacy-policy/missing Reference: https://html.spec.whatwg.org/multipage/links.html#link-type-privacy-policy Done when: `spiderlint audit https://www.debian.org/ --rules html/privacy-policy/missing` reports no html/privacy-policy/missing finding. ## html/color-scheme/missing (info 1.4) no meta color-scheme Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.meta.color-scheme`, expects `{"type":"string"}` Fix: Add <meta name=color-scheme content="light dark">. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/color-scheme/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Element/meta/name/color-scheme Done when: `spiderlint audit https://www.debian.org/ --rules html/color-scheme/missing` reports no html/color-scheme/missing finding. ## http/header/deprecated (info 1.2) the page sends deprecated headers Where: 16 pages of group default (100 %), for example: - https://www.debian.org/: X-XSS-Protection - at X-XSS-Protection → browsers removed the filter; Content-Security-Policy replaces it - https://www.debian.org/CD/vendors/: X-XSS-Protection - at X-XSS-Protection → browsers removed the filter; Content-Security-Policy replaces it - https://www.debian.org/contact: X-XSS-Protection - at X-XSS-Protection → browsers removed the filter; Content-Security-Policy replaces it Reads: `http.headers` Fix: Remove each deprecated header, and send Reporting-Endpoints in place of Report-To unless NEL still reads it. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/header/deprecated Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers Done when: `spiderlint audit https://www.debian.org/ --rules http/header/deprecated` reports no http/header/deprecated finding. ## html/og-type/missing (info 1.1) no og:type Where: 14 pages of group default (100 %), for example: - https://www.debian.org/: none - https://www.debian.org/CD/vendors/: none - https://www.debian.org/contact: none Reads: `html.property.og:type`, expects `{"type":"string"}` Fix: Set og:type to website, or article on a post. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-type/missing Reference: https://ogp.me/#types Done when: `spiderlint audit https://www.debian.org/ --rules html/og-type/missing` reports no html/og-type/missing finding. ## url/path/invalid (info 2.8) URL path should be lowercase, with hyphens and no empty segment Where: 3 pages: - https://www.debian.org/CD/vendors/: 12 characters: “/CD/vendors/” - https://www.debian.org/News/: 6 characters: “/News/” - https://www.debian.org/News/news: 10 characters: “/News/news” Reads: `url.pathname`, expects `{"type":"string","pattern":"^(?!.*//)(%[0-9A-Fa-f]{2}|[^A-Z_%])*$"}` Fix: Rewrite the path to be lowercase, with hyphens and no empty segments. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/url.html#url/path/invalid Reference: https://developers.google.com/search/docs/crawling-indexing/url-structure Done when: `spiderlint audit https://www.debian.org/ --rules url/path/invalid` reports no url/path/invalid finding, and `spiderlint show-facts https://www.debian.org/CD/vendors/` shows `url.pathname` meeting it. ## html/favicon/missing (info 2.2) no <link rel=icon> in the head Where: 8 pages: - https://www.debian.org/CD/vendors/: 4 items - https://www.debian.org/distrib/: 4 items - https://www.debian.org/distrib/pre-installed: 4 items - https://www.debian.org/doc/manuals/project-history/: 3 items - https://www.debian.org/events/merchandise: 4 items - https://www.debian.org/license: 4 items - https://www.debian.org/mirror/sponsors: 4 items - https://www.debian.org/News/: 6 items Reads: `html.head.links`, expects `{"contains":{"required":["rel"],"properties":{"rel":{"pattern":"(?i:(^|\\s)icon(\\s|$))"}}}}` Fix: Add <link rel=icon href=/favicon.ico> to the head. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/favicon/missing Reference: https://developer.mozilla.org/docs/Web/HTML/Attributes/rel#icon Done when: `spiderlint audit https://www.debian.org/ --rules html/favicon/missing` reports no html/favicon/missing finding, and `spiderlint show-facts https://www.debian.org/CD/vendors/` shows `html.head.links` meeting it. ## groups/heterogeneous (info 2.0) html/favicon/missing fails on 8 of 14 pages; the group likely spans two templates Where: https://www.debian.org/CD/vendors/ Reads: `group` Fix: Split the group’s `match` so each template gets its own group, then check with `spiderlint list-groups`. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/groups.html#groups/heterogeneous Done when: `spiderlint audit https://www.debian.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding. ## groups/heterogeneous (info 2.0) html/title/length fails on 8 of 14 pages; the group likely spans two templates Where: https://www.debian.org/contact Reads: `group` Fix: Split the group’s `match` so each template gets its own group, then check with `spiderlint list-groups`. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/groups.html#groups/heterogeneous Done when: `spiderlint audit https://www.debian.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding. ## url/slug/unreadable (info 2.0) the slug shares no word with the page title; the crawl ended early (max-pages), so the page may sit closer and have more links in Where: https://www.debian.org/distrib/: “Download Debian” Reads: `url.pathname`, `html.title`, `html.h1`, `html.rels`, `graph.prev` Fix: Name the page in its URL with words from its title, as /spring-recipes for “Spring recipes”. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/url.html#url/slug/unreadable Reference: https://developers.google.com/search/docs/crawling-indexing/url-structure Done when: `spiderlint audit https://www.debian.org/ --rules url/slug/unreadable` reports no url/slug/unreadable finding. ## origin/compression/missing (info 2.4) / is served only with “gzip”; offer br, zstd and gzip, each to the clients that ask for it Where: https://www.debian.org: br, zstd Reads: `site.origins.*.encodings.served`, expects `{"allOf":[{"contains":{"const":"br"}},{"contains":{"const":"zstd"}},{"contains":{"const":"gzip"}}]}` Fix: Configure the server to compress text responses with br, zstd and gzip. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/compression/missing Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Accept-Encoding Done when: `spiderlint audit https://www.debian.org/ --rules origin/compression/missing` reports no origin/compression/missing finding. ## origin/revalidation/broken (info 1.8) a conditional request for the seed page answers 200, not 304 Not Modified Where: https://www.debian.org Reads: `site.origins.*.revalidation.repeat`, expects `{"const":304}` Fix: Answer a request whose If-None-Match or If-Modified-Since still matches with 304 and no body. Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/revalidation/broken Reference: https://developer.mozilla.org/docs/Web/HTTP/Guides/Conditional_requests Done when: `spiderlint audit https://www.debian.org/ --rules origin/revalidation/broken` reports no origin/revalidation/broken finding. # Site statistics | Fact | Pages | Min | Median | p95 | Max | Total | | --- | --: | --: | --: | --: | --: | --: | | `co2.bytes` | 14 | 8259 | 28402 | 2133029 | 2133029 | 2821065 | | `co2.grams` | 14 | 0.0012 | 0.0042 | 0.3161 | 0.3161 | 0.418 | | `co2.resources` | 14 | 2 | 3 | 19 | 19 | 72 | | `http.size.body` | 16 | 1188 | 4238.5 | 9958 | 9958 | 73187 | | `http.size.declared` | 16 | 1188 | 4238.5 | 9958 | 9958 | 73187 | | `http.size.decoded` | 16 | 4903 | 14907.5 | 94218 | 94218 | 335231 | | `resources.length` | 14 | 2 | 3 | 19 | 19 | 72 | | `http.timing.download` | 16 | 1 | 1 | 3 | 3 | 24 | | `http.timing.total` | 16 | 19 | 22 | 78 | 78 | 440 | | `http.timing.ttfb` | 16 | 17 | 20 | 33 | 33 | 356 | | `http.timing.wait` | 16 | 0 | 0 | 56 | 56 | 60 |