Wat is Preload Tag Builder?
Preload Tag Builder is een browsertool voor deze taak: Genereer correcte preload link tags voor lettertypen, hero afbeeldingen, CSS en scripts. De uitvoer blijft leesbaar, zodat je die kunt controleren voordat je hem publiceert.
Quick answer
Use preload to fetch critical resources -- such as hero images, fonts, or above-the-fold CSS -- before the parser discovers them. Only preload a few resources per page to avoid bandwidth contention.
Limitations
- Preload requires the as attribute. Omitting it or using an incorrect value may cause the browser to fetch the resource twice.
- Cross-origin preloaded resources such as fonts from a CDN must include the crossorigin attribute.
- Excessive preloading delays other resources and can hurt performance instead of helping.
Zo gebruik je deze tool
- Open de tool en vul de relevante waarden in.
- Controleer de uitvoer in het resultaatpaneel.
- Kopieer alleen het deel dat bij je página past.
- Test de wijziging voordat je publiceert.
Waarvoor je het kunt gebruiken
- Terugkerend publicatiewerk sneller afronden.
- Markup, CSS of checklists voorbereiden voor een launch.
- Kleine fouten vermijden die bij statische sites makkelijk worden gemist.