# spiderlint findings
# Summary
- Rating: B (recommended)
- Pages: 16
- Findings: 395 (12 error, 158 warning, 199 info, 26 hint)
- Checks passed: 1239 of 1394; 132 rules failed nowhere.
## html/h1/duplicate (error 7.4)
more than one
Where: 11 pages of group default (92 %), for example:
- https://www.kernel.org/: “The Linux Kernel Archives”, “The Linux Kernel Archives”
- https://www.kernel.org/category/about.html: “The Linux Kernel Archives”, “The Linux Kernel Archives”, “The Linux Kernel Organization”, “Other articles”, “About Linux Kernel”, “Code of Conduct”, “Legal disclaimers and copyright”
- https://www.kernel.org/category/contact-us.html: “The Linux Kernel Archives”, “The Linux Kernel Archives”, “Contacts”
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.kernel.org/ --rules html/h1/duplicate` reports no html/h1/duplicate finding.
## html/lang/missing (error 8.2)
no
Where: https://www.kernel.org/pub/: 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.kernel.org/ --rules html/lang/missing` reports no html/lang/missing finding, and `spiderlint show-facts https://www.kernel.org/pub/` shows `html.lang` meeting it.
## http/csp-object-src/weak (warning 5.5)
Content-Security-Policy should set object-src 'none'
Where: 15 pages of group default (100 %), for example:
- https://www.kernel.org/: “'self'”, “*.kernel.org”
- https://www.kernel.org/category/about.html: “'self'”, “*.kernel.org”
- https://www.kernel.org/category/contact-us.html: “'self'”, “*.kernel.org”
Reads: `http.csp.directives`, expects `{"if":{"required":["object-src"]},"then":{"properties":{"object-src":{"maxItems":1,"items":{"pattern":"^(?i:'none')$"}}}},"else":{"required":["default-src"],"properties":{"default-src":{"maxItems":1,"items":{"pattern":"^(?i:'none')$"}}}}}`
Fix: Set object-src 'none' in the Content-Security-Policy.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/csp-object-src/weak
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/object-src
Done when: `spiderlint audit https://www.kernel.org/ --rules http/csp-object-src/weak` reports no http/csp-object-src/weak finding.
## http/csp-upgrade-insecure/missing (warning 5.3)
Content-Security-Policy lacks upgrade-insecure-requests
Where: 15 pages of group default (100 %), for example:
- https://www.kernel.org/: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
- https://www.kernel.org/category/about.html: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
- https://www.kernel.org/category/contact-us.html: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
Reads: `http.csp.directives`, expects `{"required":["upgrade-insecure-requests"]}`
Fix: Add upgrade-insecure-requests to the Content-Security-Policy.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/csp-upgrade-insecure/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/upgrade-insecure-requests
Done when: `spiderlint audit https://www.kernel.org/ --rules http/csp-upgrade-insecure/missing` reports no http/csp-upgrade-insecure/missing finding.
## html/description/missing (warning 6.0)
no meta description
Where: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.org/ --rules html/description/missing` reports no html/description/missing finding.
## html/canonical/missing (warning 5.4)
no canonical link
Where: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.org/ --rules html/canonical/missing` reports no html/canonical/missing finding.
## html/og-image/missing (warning 4.6)
no og:image
Where: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.org/ --rules html/og-image/missing` reports no html/og-image/missing finding.
## html/og-title/missing (warning 4.0)
no og:title
Where: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.org/ --rules html/og-title/missing` reports no html/og-title/missing finding.
## html/og-description/missing (warning 3.9)
no og:description
Where: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.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: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.org/ --rules html/theme-color/missing` reports no html/theme-color/missing finding.
## links/external/unreachable (warning 4.6)
the link answers 403
Where: 2 findings:
- https://www.akamai.com/
used by or shared with:
- https://www.kernel.org/
- https://www.kernel.org/category/about.html
- https://www.kernel.org/code-of-conduct.html
- https://www.kernel.org/nonprofit.html
- https://www.kernel.org/category/contact-us.html
- https://www.kernel.org/linux.html
- https://www.kernel.org/legal.html
- https://www.kernel.org/category/faq.html
- https://www.ietf.org/rfc/rfc2616.txt
used by or shared with:
- https://www.kernel.org/
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://www.akamai.com/ --rules links/external/unreachable` reports no links/external/unreachable finding.
## links/external/unreachable (warning 6.0)
the link could not be reached: The operation was aborted due to timeout
Where: 2 findings:
- http://www.catb.org
- https://www.alsa-project.org
used by or shared with:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: http://www.catb.org/esr/faqs/smart-questions.html
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 http://www.catb.org/ --rules links/external/unreachable` reports no links/external/unreachable finding.
## links/external/unreachable (warning 6.0)
the link answers 500
Where: http://www.tux.org/lkml/, used by or shared with:
- https://www.kernel.org/linux.html
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 http://www.tux.org/ --rules links/external/unreachable` reports no links/external/unreachable finding.
## links/external/unreachable (warning 6.0)
the link answers 502
Where: https://lkml.org/, used by or shared with:
- https://www.kernel.org/linux.html
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://lkml.org/ --rules links/external/unreachable` reports no links/external/unreachable finding.
## resources/compression/missing (warning 4.4)
a text style is not served with br, gzip or zstd
Where: 4 findings:
- https://www.kernel.org/theme/css/main.css: text/css
used by or shared with:
- https://www.kernel.org/
- https://www.kernel.org/category/about.html
- https://www.kernel.org/code-of-conduct.html
- https://www.kernel.org/nonprofit.html
- https://www.kernel.org/category/contact-us.html
- https://www.kernel.org/linux.html
- https://www.kernel.org/legal.html
- https://www.kernel.org/category/faq.html
- https://www.kernel.org/doc/html/latest/_static/alabaster.css: text/css
- https://www.kernel.org/doc/html/latest/_static/custom.css: text/css
- https://www.kernel.org/doc/html/latest/_static/pygments.css: text/css
used by or shared with:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html
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.kernel.org/ --rules resources/compression/missing` reports no resources/compression/missing finding.
## resources/compression/missing (warning 4.4)
a text image is not served with br, gzip or zstd
Where: 2 findings:
- https://www.kernel.org/theme/images/logos/serverscom.svg: image/svg+xml
used by or shared with:
- https://www.kernel.org/
- https://www.kernel.org/category/about.html
- https://www.kernel.org/code-of-conduct.html
- https://www.kernel.org/nonprofit.html
- https://www.kernel.org/category/contact-us.html
- https://www.kernel.org/linux.html
- https://www.kernel.org/legal.html
- https://www.kernel.org/category/faq.html
- https://www.kernel.org/doc/html/latest/_static/logo.svg: image/svg+xml
used by or shared with:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html
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.kernel.org/ --rules resources/compression/missing` reports no resources/compression/missing finding.
## resources/compression/missing (warning 4.4)
a text script is not served with br, gzip or zstd
Where: 5 findings:
- https://www.kernel.org/doc/html/latest/_static/_sphinx_javascript_frameworks_compat.js: application/javascript
- https://www.kernel.org/doc/html/latest/_static/doctools.js: application/javascript
- https://www.kernel.org/doc/html/latest/_static/jquery.js: application/javascript
- https://www.kernel.org/doc/html/latest/_static/sphinx_highlight.js: application/javascript
- https://www.kernel.org/doc/html/latest/_static/underscore.js: application/javascript
used by or shared with:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html
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.kernel.org/ --rules resources/compression/missing` reports no resources/compression/missing finding.
## http/server/disclosing (warning 5.4)
the host names its software in meta generator
Where: www.kernel.org, used by or shared with:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: Docutils 0.19: https://docutils.sourceforge.io/
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: Docutils 0.19: https://docutils.sourceforge.io/
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: Docutils 0.19: https://docutils.sourceforge.io/
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.kernel.org/ --rules http/server/disclosing` reports no http/server/disclosing finding.
## images/compression/weak (warning 4.8)
a svg image re-encodes smaller
Where: https://www.kernel.org/doc/html/latest/_static/logo.svg: 131.5 kB: 63.6 kB, used by or shared with:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html
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.kernel.org/ --rules images/compression/weak` reports no images/compression/weak finding.
## http/csp/missing (warning 6.4)
no enforced Content-Security-Policy, in a header or a
Where: https://www.kernel.org/pub/: 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.kernel.org/ --rules http/csp/missing` reports no http/csp/missing finding, and `spiderlint show-facts https://www.kernel.org/pub/` shows `http.csp.directives` meeting it.
## http/compression/missing (warning 6.3)
a text response over 1 KB is sent uncompressed
Where: 2 pages:
- https://www.kernel.org/feeds/all.atom.xml: none
- https://www.kernel.org/feeds/kdist.xml: none
Reads: `http.headers.content-encoding`, expects `{"type":["string","array"]}`
Fix: Compress text responses with br, zstd or gzip at the edge or in the server.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/compression/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Compression
Done when: `spiderlint audit https://www.kernel.org/ --rules http/compression/missing` reports no http/compression/missing finding, and `spiderlint show-facts https://www.kernel.org/feeds/all.atom.xml` shows `http.headers.content-encoding` meeting it.
## http/csp-unsafe-inline/present (warning 6.2)
Content-Security-Policy allows inline scripts with 'unsafe-inline' and no nonce or hash
Where: 3 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: “'self'”, “'unsafe-inline'”
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: “'self'”, “'unsafe-inline'”
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: “'self'”, “'unsafe-inline'”
Reads: `http.csp.directives`, expects `{"if":{"required":["script-src"]},"then":{"properties":{"script-src":{"not":{"contains":{"pattern":"^(?i:'unsafe-inline')$"}}}}},"else":{"properties":{"default-src":{"not":{"contains":{"pattern":"^(?i:'unsafe-inline')$"}}}}}}`
Fix: Replace 'unsafe-inline' with nonces or hashes.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/csp-unsafe-inline/present
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/script-src#unsafe_inline_script
Done when: `spiderlint audit https://www.kernel.org/ --rules http/csp-unsafe-inline/present` reports no http/csp-unsafe-inline/present finding, and `spiderlint show-facts https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html` shows `http.csp.directives` meeting it.
## html/img-dimensions/missing (warning 6.0)
an without width and height shifts the layout as it loads
Where: 3 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: {"src":"../_static/logo.svg","alt":"Logo"}
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: {"src":"../_static/logo.svg","alt":"Logo"}
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: {"src":"../_static/logo.svg","alt":"Logo"}
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.kernel.org/ --rules html/img-dimensions/missing` reports no html/img-dimensions/missing finding, and `spiderlint show-facts https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html` shows `html.images` meeting it.
## html/title/length (warning 5.7)
should be 30–60 characters
Where: 7 pages:
- https://www.kernel.org/: 25 characters: “The Linux Kernel Archives”
- https://www.kernel.org/code-of-conduct.html: 15 characters: “Code of Conduct”
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: 98 characters: “Linux Kernel Contributor Covenant Code of Conduct Interpretation — The Linux Kernel documentation”
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: 70 characters: “Contributor Covenant Code of Conduct — The Linux Kernel documentation”
- https://www.kernel.org/linux.html: 18 characters: “About Linux Kernel”
- https://www.kernel.org/nonprofit.html: 29 characters: “The Linux Kernel Organization”
- https://www.kernel.org/pub/: 14 characters: “Index of /pub/”
Reads: `html.title`, expects `{"type":"string","minLength":30,"maxLength":60}`
Fix: Shorten or lengthen 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.kernel.org/ --rules html/title/length` reports no html/title/length finding, and `spiderlint show-facts https://www.kernel.org/` shows `html.title` meeting it.
## http/content-type-options/missing (warning 5.7)
no X-Content-Type-Options
Where: 3 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: none
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: none
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: none
Reads: `http.headers.x-content-type-options`, expects `{"type":["string","array"]}`
Fix: Send X-Content-Type-Options: nosniff.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/content-type-options/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/X-Content-Type-Options
Done when: `spiderlint audit https://www.kernel.org/ --rules http/content-type-options/missing` reports no http/content-type-options/missing finding, and `spiderlint show-facts https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html` shows `http.headers.x-content-type-options` meeting it.
## images/dimensions/missing (warning 5.4)
an without width and height shifts the layout as it loads
Where: 3 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: 1
- at ../_static/logo.svg
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: 1
- at ../_static/logo.svg
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: 1
- at ../_static/logo.svg
Reads: `html.images`
Fix: Add width and height attributes to each .
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.kernel.org/ --rules images/dimensions/missing` reports no images/dimensions/missing finding.
## html/viewport/missing (warning 5.3)
no meta viewport
Where: https://www.kernel.org/pub/: none
Reads: `html.meta.viewport`, expects `{"type":"string"}`
Fix: Add 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.kernel.org/ --rules html/viewport/missing` reports no html/viewport/missing finding, and `spiderlint show-facts https://www.kernel.org/pub/` shows `html.meta.viewport` meeting it.
## html/charset/missing (warning 5.2)
no
Where: https://www.kernel.org/pub/: none
Reads: `html.charset`, expects `{"type":"object"}`
Fix: Add as the first element of .
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/charset/missing
Reference: https://html.spec.whatwg.org/multipage/semantics.html#charset
Done when: `spiderlint audit https://www.kernel.org/ --rules html/charset/missing` reports no html/charset/missing finding, and `spiderlint show-facts https://www.kernel.org/pub/` shows `html.charset` meeting it.
## http/referrer-policy/missing (warning 5.1)
no Referrer-Policy
Where: 4 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: none
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: none
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: none
- https://www.kernel.org/pub/: none
Reads: `http.parsed.referrer-policy`, expects `{"type":"object"}`
Fix: Send Referrer-Policy: strict-origin-when-cross-origin, or no-referrer.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/referrer-policy/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Referrer-Policy
Done when: `spiderlint audit https://www.kernel.org/ --rules http/referrer-policy/missing` reports no http/referrer-policy/missing finding, and `spiderlint show-facts https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html` shows `http.parsed.referrer-policy` meeting it.
## http/x-xss-protection/insecure (warning 4.5)
X-XSS-Protection should be absent or 0
Where: https://www.kernel.org/pub/: 13 characters: “1; mode=block”
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.kernel.org/ --rules http/x-xss-protection/insecure` reports no http/x-xss-protection/insecure finding, and `spiderlint show-facts https://www.kernel.org/pub/` shows `http.headers` meeting it.
## links/internal-nofollow/present (warning 4.2)
internal links carry rel=nofollow
Where: 3 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: 1
- at https://www.kernel.org/doc/html/latest/_sources/admin-guide/reporting-issues.rst.txt
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: 1
- at https://www.kernel.org/doc/html/latest/_sources/process/code-of-conduct-interpretation.rst.txt
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: 1
- at https://www.kernel.org/doc/html/latest/_sources/process/code-of-conduct.rst.txt
Reads: `html.links.internal`, `html.links.nofollow`
Fix: Drop rel=nofollow from links to the site’s own pages; keep robots.txt or noindex for pages crawlers should skip.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/links.html#links/internal-nofollow/present
Reference: https://developers.google.com/search/docs/crawling-indexing/qualify-outbound-links
Done when: `spiderlint audit https://www.kernel.org/ --rules links/internal-nofollow/present` reports no links/internal-nofollow/present finding.
## dns/caa/missing (warning 4.0)
no CAA issue or issuewild record on the host or any parent, so any CA may issue for it
Where: www.kernel.org
Reads: `site.hosts.*.dns.caa`, expects `{"type":"object","properties":{"records":{"contains":{"properties":{"tag":{"enum":["issue","issuewild"]}}}}}}`
Fix: Add a CAA record for each certificate authority you use; it covers every name under `kernel.org`.
- Name: `kernel.org`
- Flags: `0`
- Tag: `issue`
- CA domain: `letsencrypt.org`
- Zone file: `kernel.org. CAA 0 issue "letsencrypt.org"`
Put your own authority’s domain in place of `letsencrypt.org`.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/dns.html#dns/caa/missing
Reference: https://www.rfc-editor.org/rfc/rfc8659
Done when: `spiderlint audit https://www.kernel.org/ --rules dns/caa/missing` reports no dns/caa/missing finding.
## dns/dnssec/missing (warning 5.6)
the zone is not signed with DNSSEC
Where: www.kernel.org
Reads: `site.hosts.*.dnssec.signed`, expects `{"const":true}`
Fix: Enable DNSSEC signing on the zone and publish a DS record at the parent.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/dns.html#dns/dnssec/missing
Reference: https://www.rfc-editor.org/rfc/rfc9364
Done when: `spiderlint audit https://www.kernel.org/ --rules dns/dnssec/missing` reports no dns/dnssec/missing 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.kernel.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.kernel.org`
- Priority: `1`
- Target: `.`
- Value: `alpn="h3,h2"`
- Zone file: `www.kernel.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.kernel.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: “12 pages link no apple-touch-icon and https://www.kernel.org/apple-touch-icon.png answers 404”
Where: https://www.kernel.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 .
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.kernel.org/ --rules icons/apple-touch/missing` reports no icons/apple-touch/missing finding.
## origin/canonical-host/mismatch (warning 5.6)
entry variants do not land on https://www.kernel.org, the audited origin, since no canonical origin is configured
Where: https://www.kernel.org: https://www.kernel.org
- at http://kernel.org/ → https://kernel.org/
- at https://kernel.org/ → https://kernel.org/
- at http://kernel.org/?spiderlint=38072175-38f3-4aba-9221-5a935223b162 → https://kernel.org/?spiderlint=38072175-38f3-4aba-9221-5a935223b162
- at https://kernel.org/?spiderlint=38072175-38f3-4aba-9221-5a935223b162 → https://kernel.org/?spiderlint=38072175-38f3-4aba-9221-5a935223b162
Reads: `site.origins.*.variants.probes`
Fix: Redirect every http, https, www and apex variant to the one canonical origin with a 301 or 308.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/canonical-host/mismatch
Reference: https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls
Done when: `spiderlint audit https://www.kernel.org/ --rules origin/canonical-host/mismatch` reports no origin/canonical-host/mismatch finding.
## http/csp-frame-ancestors/missing (info 2.9)
Content-Security-Policy lacks frame-ancestors, which only a header can carry
Where: 15 pages of group default (100 %), for example:
- https://www.kernel.org/: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
- https://www.kernel.org/category/about.html: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
- https://www.kernel.org/category/contact-us.html: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
Reads: `http.csp.directives`, expects `{"required":["frame-ancestors"]}`
Fix: Add frame-ancestors to the Content-Security-Policy.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/csp-frame-ancestors/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors
Done when: `spiderlint audit https://www.kernel.org/ --rules http/csp-frame-ancestors/missing` reports no http/csp-frame-ancestors/missing 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.kernel.org/: {"max-age":31557600}
- https://www.kernel.org/category/about.html: {"max-age":31557600}
- https://www.kernel.org/category/contact-us.html: {"max-age":31557600}
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.kernel.org/ --rules http/hsts-subdomains/missing` reports no http/hsts-subdomains/missing finding.
## http/csp-base-uri/missing (info 2.6)
Content-Security-Policy lacks base-uri, so an injected can redirect relative scripts
Where: 15 pages of group default (100 %), for example:
- https://www.kernel.org/: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
- https://www.kernel.org/category/about.html: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
- https://www.kernel.org/category/contact-us.html: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
Reads: `http.csp.directives`, expects `{"required":["base-uri"]}`
Fix: Add base-uri to the Content-Security-Policy, e.g. the site origin.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/csp-base-uri/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/base-uri
Done when: `spiderlint audit https://www.kernel.org/ --rules http/csp-base-uri/missing` reports no http/csp-base-uri/missing finding.
## http/csp-trusted-types/missing (info 2.4)
Content-Security-Policy lacks require-trusted-types-for 'script'
Where: 15 pages of group default (100 %), for example:
- https://www.kernel.org/: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
- https://www.kernel.org/category/about.html: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
- https://www.kernel.org/category/contact-us.html: {"default-src":["'self'","*.kernel.org"],"img-src":["https:","data:"]}
Reads: `http.csp.directives`, expects `{"required":["require-trusted-types-for"],"properties":{"require-trusted-types-for":{"contains":{"pattern":"^(?i:'script')$"}}}}`
Fix: Add require-trusted-types-for 'script' to the Content-Security-Policy.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/csp-trusted-types/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/require-trusted-types-for
Done when: `spiderlint audit https://www.kernel.org/ --rules http/csp-trusted-types/missing` reports no http/csp-trusted-types/missing finding.
## http/coop/missing (info 2.2)
no Cross-Origin-Opener-Policy
Where: 16 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.org/ --rules http/coop/missing` reports no http/coop/missing finding.
## http/corp/missing (info 2.1)
no Cross-Origin-Resource-Policy
Where: 16 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.org/ --rules http/corp/missing` reports no http/corp/missing finding.
## http/cache-control/missing (info 2.7)
no Cache-Control directive on an HTML page
Where: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: none
Reads: `http.parsed.cache-control.value`, expects `{"type":"object","minProperties":1}`
Fix: Add a Cache-Control header, e.g. no-cache to revalidate, or public with a max-age.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/cache-control/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Cache-Control
Done when: `spiderlint audit https://www.kernel.org/ --rules http/cache-control/missing` reports no http/cache-control/missing finding.
## html/og-url/missing (info 2.5)
no og:url
Where: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: none
Reads: `html.property.og:url`, expects `{"type":"string"}`
Fix: Add 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.kernel.org/ --rules html/og-url/missing` reports no html/og-url/missing finding.
## http/permissions-policy/missing (info 1.8)
no Permissions-Policy header naming a feature
Where: 16 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: none
Reads: `http.parsed.permissions-policy.value`, expects `{"type":"object","minProperties":1}`
Fix: Send a Permissions-Policy header listing the features the page uses.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/permissions-policy/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Permissions-Policy
Done when: `spiderlint audit https://www.kernel.org/ --rules http/permissions-policy/missing` reports no http/permissions-policy/missing 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.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.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: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: none
Reads: `html.rels.privacy-policy`, expects `{"type":"array","minItems":1}`
Fix: Add 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.kernel.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: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: none
Reads: `html.meta.color-scheme`, expects `{"type":"string"}`
Fix: Add .
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.kernel.org/ --rules html/color-scheme/missing` reports no html/color-scheme/missing finding.
## html/og-type/missing (info 1.1)
no og:type
Where: 12 pages of group default (100 %), for example:
- https://www.kernel.org/: none
- https://www.kernel.org/category/about.html: none
- https://www.kernel.org/category/contact-us.html: 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.kernel.org/ --rules html/og-type/missing` reports no html/og-type/missing finding.
## html/script/blocking (info 3.0)
a script in without async, defer or type=module blocks rendering
Where: 3 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: {"src":"https://www.kernel.org/doc/html/latest/_static/documentation_options.…
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: {"src":"https://www.kernel.org/doc/html/latest/_static/documentation_options.…
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: {"src":"https://www.kernel.org/doc/html/latest/_static/documentation_options.…
Reads: `html.scripts`, expects `{"items":{"if":{"required":["src"],"properties":{"head":{"const":true},"async":{"const":false},"defer":{"const":false}}},"then":{"required":["type"],"properties":{"type":{"const":"module"}}}}}`
Fix: Add async, defer, or type=module to the script, or move it to the end of .
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/script/blocking
Reference: https://developer.mozilla.org/docs/Web/HTML/Element/script#defer
Done when: `spiderlint audit https://www.kernel.org/ --rules html/script/blocking` reports no html/script/blocking finding, and `spiderlint show-facts https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html` shows `html.scripts` meeting it.
## http/frame-options/missing (info 3.0)
neither content-security-policy frame-ancestors nor x-frame-options refuses framing
Where: 3 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html
Reads: `http.csp.directives`, `http.headers.x-frame-options`
Fix: Send a Content-Security-Policy frame-ancestors directive, or X-Frame-Options: DENY.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/frame-options/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors
Done when: `spiderlint audit https://www.kernel.org/ --rules http/frame-options/missing` reports no http/frame-options/missing finding.
## html/stylesheet/blocking (info 2.3)
more than one stylesheet in blocks rendering
Where: 3 pages:
- https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html: 8 items
- https://www.kernel.org/doc/html/latest/process/code-of-conduct-interpretation.html: 8 items
- https://www.kernel.org/doc/html/latest/process/code-of-conduct.html: 8 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.kernel.org/ --rules html/stylesheet/blocking` reports no html/stylesheet/blocking finding, and `spiderlint show-facts https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html` shows `html.head.links` meeting it.
## html/favicon/missing (info 2.2)
no in the head
Where: https://www.kernel.org/pub/: none
Reads: `html.head.links`, expects `{"contains":{"required":["rel"],"properties":{"rel":{"pattern":"(?i:(^|\\s)icon(\\s|$))"}}}}`
Fix: Add 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.kernel.org/ --rules html/favicon/missing` reports no html/favicon/missing finding, and `spiderlint show-facts https://www.kernel.org/pub/` shows `html.head.links` meeting it.
## groups/heterogeneous (info 2.0)
html/title/length fails on 7 of 12 pages; the group likely spans two templates
Where: https://www.kernel.org/
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.kernel.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding.
## groups/heterogeneous (info 2.0)
url/extension/present fails on 10 of 16 pages; the group likely spans two templates
Where: https://www.kernel.org/category/about.html
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.kernel.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding.
## groups/heterogeneous (info 2.0)
http/referrer-policy/missing fails on 4 of 16 pages; the group likely spans two templates
Where: https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
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.kernel.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding.
## groups/heterogeneous (info 2.0)
html/script/blocking fails on 3 of 12 pages; the group likely spans two templates
Where: https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
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.kernel.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding.
## groups/heterogeneous (info 2.0)
html/img-dimensions/missing fails on 3 of 12 pages; the group likely spans two templates
Where: https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
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.kernel.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding.
## groups/heterogeneous (info 2.0)
html/stylesheet/blocking fails on 3 of 12 pages; the group likely spans two templates
Where: https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
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.kernel.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding.
## groups/heterogeneous (info 2.0)
links/internal-nofollow/present fails on 3 of 12 pages; the group likely spans two templates
Where: https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
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.kernel.org/ --rules groups/heterogeneous` reports no groups/heterogeneous finding.
## groups/heterogeneous (info 2.0)
images/dimensions/missing fails on 3 of 12 pages; the group likely spans two templates
Where: https://www.kernel.org/doc/html/latest/admin-guide/reporting-issues.html
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.kernel.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.kernel.org/nonprofit.html: “The Linux Kernel Organization”
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.kernel.org/ --rules url/slug/unreadable` reports no url/slug/unreadable finding.
## http/header/deprecated (info 1.2)
the page sends deprecated headers
Where: https://www.kernel.org/pub/: 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.kernel.org/ --rules http/header/deprecated` reports no http/header/deprecated 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.kernel.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.kernel.org/ --rules origin/compression/missing` reports no origin/compression/missing finding.
## origin/favicon/invalid (info 2.2)
/favicon.ico is not an image (got 404)
Where: https://www.kernel.org
Reads: `site.origins.*.favicon`, expects `{"required":["status","content-type"],"properties":{"status":{"minimum":200,"maximum":299},"content-type":{"pattern":"^image/"}}}`
Fix: Serve /favicon.ico as a real image (PNG, ICO, or SVG).
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/origin.html#origin/favicon/invalid
Reference: https://developers.google.com/search/docs/appearance/favicon-in-search
Done when: `spiderlint audit https://www.kernel.org/ --rules origin/favicon/invalid` reports no origin/favicon/invalid finding.
# Site statistics
| Fact | Pages | Min | Median | p95 | Max | Total |
| --- | --: | --: | --: | --: | --: | --: |
| `co2.bytes` | 12 | 233 | 44106 | 320384 | 320384 | 1235936 |
| `co2.grams` | 12 | 0 | 0.0066 | 0.0475 | 0.0475 | 0.1832 |
| `co2.resources` | 12 | 0 | 8 | 10 | 10 | 95 |
| `http.size.body` | 16 | 0 | 3892.5 | 142226 | 142226 | 246048 |
| `http.size.declared` | 16 | 233 | 4969 | 142226 | 142226 | 306357 |
| `http.size.decoded` | 16 | 0 | 13842 | 142226 | 142226 | 445209 |
| `resources.length` | 12 | 0 | 8 | 10 | 10 | 95 |
| `http.timing.download` | 16 | 0 | 1 | 12 | 12 | 30 |
| `http.timing.total` | 16 | 3 | 8.5 | 41 | 41 | 182 |
| `http.timing.ttfb` | 16 | 2 | 6.5 | 22 | 22 | 113 |
| `http.timing.wait` | 16 | 0 | 0 | 36 | 36 | 38 |