Example for f:page.headerData is wrong
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- documentation
Research direction
Find the documentation example for f:page.headerData and review how it describes the preload link for a font. Check the TYPO3-generated CSS and JavaScript ordering mentioned in the issue, then update the example or its explanation to reflect when preload, dns-prefetch, or preconnect is useful. Done when the example no longer implies that this preload is useful in the described order.
Written by the indexing model from the issue text.
Description
The example contains <link rel="preload" href="/fonts/myfont.woff2" as="font" type="font/woff2" crossorigin="anonymous"> which is in all likelyhood pointless as CSS loaded by other TYPO3 APIs come before anything added by the viewhelper. Which means that the browser has already loaded and parsed the CSS and therefore is loading the font already.
dns-prefetch and preconnect may make sense depending on the use case. Though IMHO they should also come in the HTML before the main CSS/JS block that TYPO3 generates.
- Dominant language
- Shell
- Stars
- 0
- Forks
- 29
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 10
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TYPO3-Documentation/TYPO3CMS-Reference-ViewHelper
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
TYPO3-Documentation/TYPO3CMS-Reference-ViewHelper#296 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
TYPO3-Documentation/TYPO3CMS-Reference-ViewHelper#154 · 1 comment ·
Maintainers usually reply within 1 day
-
Problem+on+https://docs.typo3.org/other/typo3/view-helper-reference/main/en-us//Global/Image.htmlOpen
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
TYPO3-Documentation/TYPO3CMS-Reference-ViewHelper#153 · 7 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
TYPO3-Documentation/TYPO3CMS-Reference-ViewHelper#149 · 7 comments ·
Maintainers usually reply within 1 day
All issues in TYPO3-Documentation/TYPO3CMS-Reference-ViewHelper
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 91/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ardia-browser/ardia#6391 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
software-mansion-labs/Diplomat#291 ·
Maintainers usually reply within 1 day
-
Area/Infrastructure Aspect/Infra Resources Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
wso2/agent-manager#2717 ·
Maintainers usually reply within 1 day