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

Delete unnecessary meta tags and re-order head element #3676

Open
cevdetardaharan opened this issue Nov 26, 2024 · 0 comments · May be fixed by #3677
Open

Delete unnecessary meta tags and re-order head element #3676

cevdetardaharan opened this issue Nov 26, 2024 · 0 comments · May be fixed by #3677

Comments

@cevdetardaharan
Copy link

Detecting unnecessary head elements

X-UA-Compatible meta tag is for IE and IE is dead so it should be deleted, even browsers are giving warning.

<meta http-equiv="X-UA-Compatible" content="IE=edge">

twitter:* meta tags that have the same name as og:* meta tags aren't needed because twitter uses og:* meta tags as fallback: source

<meta name="twitter:title" content="{{ og_title | escape }}">
<meta name="twitter:description" content="{{ og_description | escape }}">

Re-ordering

Re-ordering based on priority would make browsers work faster and more algorithmic: source

cevdetardaharan added a commit to cevdetardaharan/dawn that referenced this issue Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant