Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns-prefetch links should be excluded #1499

Open
wackget opened this issue Sep 11, 2024 · 0 comments · May be fixed by #1520
Open

dns-prefetch links should be excluded #1499

wackget opened this issue Sep 11, 2024 · 0 comments · May be fixed by #1520
Labels
enhancement New feature or request false-positive

Comments

@wackget
Copy link

wackget commented Sep 11, 2024

Links of type dns-prefetch should not be checked by lychee. This is because they are only used to perform DNS lookups and never to fetch any content, e.g.:

<link rel='dns-prefetch' href='https://fonts.googleapis.com/' />

I am aware of an existing issue #897 which covers preconnect-type links but dns-prefetch is a separate type not covered by the proposed fix.

@mre mre added enhancement New feature or request false-positive labels Sep 21, 2024
wackget added a commit to wackget/lychee that referenced this issue Oct 8, 2024
@wackget wackget linked a pull request Oct 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request false-positive
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants