# spiderlint findings
# Summary
- Rating: B (recommended)
- Pages: 16
- Findings: 396 (1 error, 229 warning, 149 info, 17 hint)
- Checks passed: 1345 of 1493; 151 rules failed nowhere.
## resources/resource/unreachable (error 7.6)
iframe answers 401
Where: https://player.vimeo.com/video/224912526?title=0&byline=0&portrait=0, used by or shared with:
- https://rust-lang.org/what/embedded/
Reads: `resources`
Fix: Fix the resource server so it answers 2xx, or remove the resource from the page.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/resources.html#resources/resource/unreachable
Reference: https://developer.mozilla.org/docs/Web/HTTP/Reference/Status
Done when: `spiderlint audit https://player.vimeo.com/ --rules resources/resource/unreachable` reports no resources/resource/unreachable finding.
## http/csp/missing (warning 6.4)
no enforced Content-Security-Policy, in a header or a
Where: 16 pages of group default (100 %), for example:
- https://rust-lang.org/: none
- https://rust-lang.org/community/: none
- https://rust-lang.org/funding/: 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://rust-lang.org/ --rules http/csp/missing` reports no http/csp/missing finding.
## html/img-dimensions/missing (warning 6.0)
an without width and height shifts the layout as it loads
Where: 16 pages of group default (100 %), for example:
- https://rust-lang.org/: {"src":"/static/images/rust-logo-blk.svg","alt":"Rust Logo"}
- https://rust-lang.org/community/: {"src":"/static/images/rust-logo-blk.svg","alt":"Rust Logo"}
- https://rust-lang.org/funding/: {"src":"/static/images/rust-logo-blk.svg","alt":"Rust 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://rust-lang.org/ --rules html/img-dimensions/missing` reports no html/img-dimensions/missing finding.
## http/hsts/missing (warning 5.8)
no Strict-Transport-Security
Where: 16 pages of group default (100 %), for example:
- https://rust-lang.org/: none
- https://rust-lang.org/community/: none
- https://rust-lang.org/funding/: none
Reads: `http.parsed.strict-transport-security`, expects `{"type":"object"}`
Fix: Send Strict-Transport-Security: max-age=63072000; includeSubDomains.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/http.html#http/hsts/missing
Reference: https://developer.mozilla.org/docs/Web/HTTP/Headers/Strict-Transport-Security
Done when: `spiderlint audit https://rust-lang.org/ --rules http/hsts/missing` reports no http/hsts/missing finding.
## http/content-type-options/missing (warning 5.7)
no X-Content-Type-Options
Where: 16 pages of group default (100 %), for example:
- https://rust-lang.org/: none
- https://rust-lang.org/community/: none
- https://rust-lang.org/funding/: 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://rust-lang.org/ --rules http/content-type-options/missing` reports no http/content-type-options/missing finding.
## html/description/duplicate (warning 5.6)
pages share one meta description
Where: https://rust-lang.org/: 72 characters: “A language empowering everyone to build reliable and efficient software.”, used by or shared with:
- https://rust-lang.org/
- https://rust-lang.org/learn/
- https://rust-lang.org/learn/get-started/
- https://rust-lang.org/what/cli/
- https://rust-lang.org/policies/code-of-conduct/
- https://rust-lang.org/tools/
- https://rust-lang.org/governance/
- https://rust-lang.org/funding/
- https://rust-lang.org/community/
- https://rust-lang.org/policies/
- https://rust-lang.org/what/wasm/
- https://rust-lang.org/policies/licenses/
- https://rust-lang.org/what/networking/
- https://rust-lang.org/policies/security/
- https://rust-lang.org/what/embedded/
- https://rust-lang.org/tools/install/
Reads: `html.meta.description`
Fix: Give each page a distinct meta description.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/description/duplicate
Reference: https://developers.google.com/search/docs/appearance/snippet
Done when: `spiderlint audit https://rust-lang.org/ --rules html/description/duplicate` reports no html/description/duplicate finding.
## html/canonical/missing (warning 5.4)
no canonical link
Where: 16 pages of group default (100 %), for example:
- https://rust-lang.org/: none
- https://rust-lang.org/community/: none
- https://rust-lang.org/funding/: 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://rust-lang.org/ --rules html/canonical/missing` reports no html/canonical/missing finding.
## images/dimensions/missing (warning 5.4)
an
without width and height shifts the layout as it loads
Where: 16 pages of group default (100 %), for example:
- https://rust-lang.org/: 9
- at /static/images/rust-logo-blk.svg
- at /static/images/cli.svg
- at /static/images/webassembly.svg
- at /static/images/networking.svg
- at /static/images/embedded.svg
- at /static/images/mastodon.svg
- at /static/images/bluesky.svg
- at /static/images/youtube.svg
- at /static/images/github.svg
- https://rust-lang.org/community/: 6
- at /static/images/rust-logo-blk.svg
- at /static/images/rustfest.jpg
- at /static/images/mastodon.svg
- at /static/images/bluesky.svg
- at /static/images/youtube.svg
- at /static/images/github.svg
- https://rust-lang.org/funding/: 45
- at /static/images/rust-logo-blk.svg
- at https://avatars.githubusercontent.com/Turbo87
- at https://avatars.githubusercontent.com/mejrs
- at https://avatars.githubusercontent.com/clarfonthey
- at https://avatars.githubusercontent.com/WaffleLapkin
- at https://avatars.githubusercontent.com/fee1-dead
- at https://avatars.githubusercontent.com/joshtriplett
- at https://avatars.githubusercontent.com/antoyo
- at https://avatars.githubusercontent.com/blyxyas
- at https://avatars.githubusercontent.com/TaKO8Ki
- at https://avatars.githubusercontent.com/dianqk
- at https://avatars.githubusercontent.com/lnicola
- at https://avatars.githubusercontent.com/flip1995
- at https://avatars.githubusercontent.com/epage
- at https://avatars.githubusercontent.com/dtolnay
- at https://avatars.githubusercontent.com/spastorino
- at https://avatars.githubusercontent.com/fmease
- at https://avatars.githubusercontent.com/jyn514
- at https://avatars.githubusercontent.com/Eh2406
- at https://avatars.githubusercontent.com/djc
- at https://avatars.githubusercontent.com/ShoyuVanilla
- at https://avatars.githubusercontent.com/Nadrieril
- at https://avatars.githubusercontent.com/m-ou-se
- at https://avatars.githubusercontent.com/Enselic
- at https://avatars.githubusercontent.com/ChrisDenton
- at https://avatars.githubusercontent.com/JonathanBrouwer
- at https://avatars.githubusercontent.com/chenyukang
- at https://avatars.githubusercontent.com/lolbinarycat
- at https://avatars.githubusercontent.com/ZuseZ4
- at https://avatars.githubusercontent.com/Kobzol
- at https://avatars.githubusercontent.com/jhpratt
- at https://avatars.githubusercontent.com/nia-e
- at https://avatars.githubusercontent.com/rami3l
- at https://avatars.githubusercontent.com/Veykril
- at https://avatars.githubusercontent.com/mu001999
- at https://avatars.githubusercontent.com/JohnTitor
- at https://avatars.githubusercontent.com/BurntSushi
- at https://avatars.githubusercontent.com/panstromek
- at https://avatars.githubusercontent.com/joboet
- at https://avatars.githubusercontent.com/lcnr
- at https://avatars.githubusercontent.com/mati865
- at /static/images/mastodon.svg
- at /static/images/bluesky.svg
- at /static/images/youtube.svg
- at /static/images/github.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://rust-lang.org/ --rules images/dimensions/missing` reports no images/dimensions/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://rust-lang.org/: none
- https://rust-lang.org/community/: none
- https://rust-lang.org/funding/: 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://rust-lang.org/ --rules http/alt-svc-h3/missing` reports no http/alt-svc-h3/missing finding.
## http/referrer-policy/missing (warning 5.1)
no Referrer-Policy
Where: 16 pages of group default (100 %), for example:
- https://rust-lang.org/: none
- https://rust-lang.org/community/: none
- https://rust-lang.org/funding/: 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://rust-lang.org/ --rules http/referrer-policy/missing` reports no http/referrer-policy/missing finding.
## links/internal/redirected (warning 4.6)
the link redirects elsewhere
Where: 15 findings:
- https://rust-lang.org/community: https://rust-lang.org/community/
- https://rust-lang.org/funding: https://rust-lang.org/funding/
- https://rust-lang.org/governance: https://rust-lang.org/governance/
- https://rust-lang.org/learn: https://rust-lang.org/learn/
- https://rust-lang.org/policies: https://rust-lang.org/policies/
- https://rust-lang.org/policies/code-of-conduct: https://rust-lang.org/policies/code-of-conduct/
- https://rust-lang.org/policies/licenses: https://rust-lang.org/policies/licenses/
- https://rust-lang.org/policies/security: https://rust-lang.org/policies/security/
- https://rust-lang.org/tools: https://rust-lang.org/tools/
- https://rust-lang.org/tools/install: https://rust-lang.org/tools/install/
used by or shared with:
- https://rust-lang.org/
- https://rust-lang.org/learn/
- https://rust-lang.org/learn/get-started/
- https://rust-lang.org/what/cli/
- https://rust-lang.org/policies/code-of-conduct/
- https://rust-lang.org/tools/
- https://rust-lang.org/governance/
- https://rust-lang.org/funding/
- https://rust-lang.org/community/
- https://rust-lang.org/policies/
- https://rust-lang.org/what/wasm/
- https://rust-lang.org/policies/licenses/
- https://rust-lang.org/what/networking/
- https://rust-lang.org/policies/security/
- https://rust-lang.org/what/embedded/
- https://rust-lang.org/tools/install/
- https://rust-lang.org/learn/get-started: https://rust-lang.org/learn/get-started/
used by or shared with:
- https://rust-lang.org/
- https://rust-lang.org/tools/install/
- https://rust-lang.org/what/cli: https://rust-lang.org/what/cli/
- https://rust-lang.org/what/embedded: https://rust-lang.org/what/embedded/
- https://rust-lang.org/what/networking: https://rust-lang.org/what/networking/
- https://rust-lang.org/what/wasm: https://rust-lang.org/what/wasm/
used by or shared with:
- https://rust-lang.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://rust-lang.org/ --rules links/internal/redirected` reports no links/internal/redirected finding.
## links/external/unreachable (warning 4.6)
the link answers 404
Where: 8 findings:
- https://bsky.app/profile/rust-lang.org
used by or shared with:
- https://rust-lang.org/
- https://rust-lang.org/learn/
- https://rust-lang.org/learn/get-started/
- https://rust-lang.org/what/cli/
- https://rust-lang.org/policies/code-of-conduct/
- https://rust-lang.org/tools/
- https://rust-lang.org/governance/
- https://rust-lang.org/funding/
- https://rust-lang.org/community/
- https://rust-lang.org/policies/
- https://rust-lang.org/what/wasm/
- https://rust-lang.org/policies/licenses/
- https://rust-lang.org/what/networking/
- https://rust-lang.org/policies/security/
- https://rust-lang.org/what/embedded/
- https://rust-lang.org/tools/install/
- https://crates.io/
used by or shared with:
- https://rust-lang.org/learn/get-started/
- https://rust-lang.org/tools/
- http://crates.io/
- https://crates.io/security
- https://crates.io/users/rust-lang-owner
- https://marketplace.visualstudio.com/publishers/rust-lang
used by or shared with:
- https://rust-lang.org/policies/security/
- https://crates.io/crates/ferris-says
used by or shared with:
- https://rust-lang.org/learn/get-started/
- https://vimeo.com/224912526
used by or shared with:
- https://rust-lang.org/what/embedded/
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://bsky.app/ --rules links/external/unreachable` reports no links/external/unreachable finding.
## links/external/unreachable (warning 4.6)
the link answers 403
Where: 2 findings:
- http://www.freepik.com/
- https://www.flaticon.com/
used by or shared with:
- https://rust-lang.org/policies/licenses/
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.freepik.com/ --rules links/external/unreachable` reports no links/external/unreachable finding.
## html/og-description/duplicate (warning 4.1)
pages share one og:description
Where: https://rust-lang.org/: 72 characters: “A language empowering everyone to build reliable and efficient software.”, used by or shared with:
- https://rust-lang.org/
- https://rust-lang.org/learn/
- https://rust-lang.org/learn/get-started/
- https://rust-lang.org/what/cli/
- https://rust-lang.org/policies/code-of-conduct/
- https://rust-lang.org/tools/
- https://rust-lang.org/governance/
- https://rust-lang.org/funding/
- https://rust-lang.org/community/
- https://rust-lang.org/policies/
- https://rust-lang.org/what/wasm/
- https://rust-lang.org/policies/licenses/
- https://rust-lang.org/what/networking/
- https://rust-lang.org/policies/security/
- https://rust-lang.org/what/embedded/
- https://rust-lang.org/tools/install/
Reads: `html.property.og:description`
Fix: Give each page a distinct og:description.
Docs: https://damian-buho.github.io/spiderlint/en/pages/rules/html.html#html/og-description/duplicate
Reference: https://ogp.me/#optional
Done when: `spiderlint audit https://rust-lang.org/ --rules html/og-description/duplicate` reports no html/og-description/duplicate finding.
## images/format/outdated (warning 5.2)
a png image is smaller as avif
Where: 17 findings:
- https://rust-lang.org/static/images/firefox.png: 67.8 kB: 7.7 kB
used by or shared with:
- https://rust-lang.org/what/wasm/
- https://rust-lang.org/what/networking/
- https://avatars.githubusercontent.com/antoyo: 135.1 kB: 17.6 kB
- https://avatars.githubusercontent.com/blyxyas: 262.5 kB: 15.7 kB
- https://avatars.githubusercontent.com/chenyukang: 116.4 kB: 4.5 kB
- https://avatars.githubusercontent.com/fee1-dead: 148.2 kB: 6 kB
- https://avatars.githubusercontent.com/joboet: 277.9 kB: 10.3 kB
- https://avatars.githubusercontent.com/lnicola: 271 kB: 8.8 kB
- https://avatars.githubusercontent.com/mejrs: 119.6 kB: 4 kB
- https://avatars.githubusercontent.com/mu001999: 112.2 kB: 11.8 kB
- https://avatars.githubusercontent.com/nia-e: 233.3 kB: 14.2 kB
- https://avatars.githubusercontent.com/rami3l: 100.9 kB: 7.9 kB
- https://avatars.githubusercontent.com/spastorino: 233.3 kB: 10.4 kB
- https://avatars.githubusercontent.com/TaKO8Ki: 33.4 kB: 2.2 kB
- https://avatars.githubusercontent.com/Turbo87: 327.2 kB: 18.2 kB
used by or shared with:
- https://rust-lang.org/funding/
- https://rust-lang.org/static/images/user-logos/ael_logo.png: 25.5 kB: 9.4 kB
- https://rust-lang.org/static/images/user-logos/terminal-technologies.png: 92.3 kB: 10.4 kB
used by or shared with:
- https://rust-lang.org/what/embedded/
- https://rust-lang.org/static/images/wasm-ferris.png: 87.7 kB: 25.9 kB
used by or shared with:
- https://rust-lang.org/what/wasm/
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://rust-lang.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: 16 findings:
- https://avatars.githubusercontent.com/BurntSushi: 30.4 kB: 14.4 kB
- https://avatars.githubusercontent.com/dianqk: 29.6 kB: 13.3 kB
- https://avatars.githubusercontent.com/Eh2406: 32.5 kB: 12.4 kB
- https://avatars.githubusercontent.com/Enselic: 21.9 kB: 8.6 kB
- https://avatars.githubusercontent.com/epage: 35.4 kB: 16.1 kB
- https://avatars.githubusercontent.com/fmease: 30.9 kB: 13.9 kB
- https://avatars.githubusercontent.com/JohnTitor: 47.5 kB: 15.8 kB
- https://avatars.githubusercontent.com/JonathanBrouwer: 27.5 kB: 13 kB
- https://avatars.githubusercontent.com/joshtriplett: 23.5 kB: 10.4 kB
- https://avatars.githubusercontent.com/jyn514: 21.7 kB: 9.6 kB
- https://avatars.githubusercontent.com/m-ou-se: 20.8 kB: 8.7 kB
- https://avatars.githubusercontent.com/mati865: 54.4 kB: 14 kB
- https://avatars.githubusercontent.com/panstromek: 31.5 kB: 16.4 kB
- https://avatars.githubusercontent.com/Veykril: 20.6 kB: 9.1 kB
- https://avatars.githubusercontent.com/ZuseZ4: 27.1 kB: 13.1 kB
used by or shared with:
- https://rust-lang.org/funding/
- https://rust-lang.org/static/images/rustfest.jpg: 258.3 kB: 93.9 kB
used by or shared with:
- https://rust-lang.org/community/
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://avatars.githubusercontent.com/ --rules images/format/outdated` reports no images/format/outdated finding.
## images/compression/weak (warning 4.8)
a png image re-encodes smaller
Where: 16 findings:
- https://rust-lang.org/static/images/firefox.png: 67.8 kB: 35 kB
used by or shared with:
- https://rust-lang.org/what/wasm/
- https://rust-lang.org/what/networking/
- https://avatars.githubusercontent.com/antoyo: 135.1 kB: 51.1 kB
- https://avatars.githubusercontent.com/blyxyas: 262.5 kB: 86.1 kB
- https://avatars.githubusercontent.com/chenyukang: 116.4 kB: 31.5 kB
- https://avatars.githubusercontent.com/fee1-dead: 148.2 kB: 61.5 kB
- https://avatars.githubusercontent.com/joboet: 277.9 kB: 117.8 kB
- https://avatars.githubusercontent.com/lnicola: 271 kB: 78.4 kB
- https://avatars.githubusercontent.com/mejrs: 119.6 kB: 45.8 kB
- https://avatars.githubusercontent.com/mu001999: 112.2 kB: 39 kB
- https://avatars.githubusercontent.com/nia-e: 233.3 kB: 56.6 kB
- https://avatars.githubusercontent.com/rami3l: 100.9 kB: 33 kB
- https://avatars.githubusercontent.com/spastorino: 233.3 kB: 87 kB
- https://avatars.githubusercontent.com/TaKO8Ki: 33.4 kB: 17.2 kB
- https://avatars.githubusercontent.com/Turbo87: 327.2 kB: 111.8 kB
used by or shared with:
- https://rust-lang.org/funding/
- https://rust-lang.org/static/images/user-logos/terminal-technologies.png: 92.3 kB: 41 kB
used by or shared with:
- https://rust-lang.org/what/embedded/
- https://rust-lang.org/static/images/wasm-ferris.png: 87.7 kB: 51.7 kB
used by or shared with:
- https://rust-lang.org/what/wasm/
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://rust-lang.org/ --rules images/compression/weak` reports no images/compression/weak finding.
## images/compression/weak (warning 4.8)
a jpeg image re-encodes smaller
Where: 2 findings:
- https://avatars.githubusercontent.com/mati865: 54.4 kB: 29.5 kB
used by or shared with:
- https://rust-lang.org/funding/
- https://rust-lang.org/static/images/rustfest.jpg: 258.3 kB: 193.8 kB
used by or shared with:
- https://rust-lang.org/community/
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://avatars.githubusercontent.com/ --rules images/compression/weak` reports no images/compression/weak finding.
## images/compression/weak (warning 4.8)
a svg image re-encodes smaller
Where: https://rust-lang.org/static/images/chip3.svg: 43.8 kB: 33.1 kB, used by or shared with:
- https://rust-lang.org/what/embedded/
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://rust-lang.org/ --rules images/compression/weak` reports no images/compression/weak finding.
## resources/cache-control/weak (warning 4.8)
fingerprinted script is cached for less than a year
Where: 2 findings:
- https://rust-lang.org/static/scripts/tools-install_17210002008170682681.js: 600: max-age=600
used by or shared with:
- https://rust-lang.org/learn/get-started/
- https://rust-lang.org/tools/install/
- https://rust-lang.org/static/scripts/funding-shuffle_8840338342130833331.js: 600: max-age=600
used by or shared with:
- https://rust-lang.org/funding/
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://rust-lang.org/ --rules resources/cache-control/weak` reports no resources/cache-control/weak finding.
## resources/cache-control/weak (warning 4.8)
fingerprinted image is cached for less than a year
Where: https://rust-lang.org/static/images/cli-app-structure-2.svg: 600: max-age=600, used by or shared with:
- https://rust-lang.org/what/cli/
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://rust-lang.org/ --rules resources/cache-control/weak` reports no resources/cache-control/weak finding.
## html/title/length (warning 5.7)