Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
thedaviddias avatar

Html Resource Hints

  • 2 installs
  • 73.4k repo stars
  • Updated June 18, 2026
  • thedaviddias/front-end-checklist

Adds preload, prefetch, dns-prefetch, and preconnect hints so the browser fetches late-discovered critical resources in parallel.

About

A frontend-checklist HTML rule for adding resource hints to break the parser's sequential discovery chain. A developer uses it to eliminate delays fetching fonts, hero images, and key scripts.

  • preload critical resources; prefetch likely next-navigation assets
  • preconnect and dns-prefetch third-party origins in advance

Html Resource Hints by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #1,862 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/thedaviddias/front-end-checklist --skill html-resource-hints

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars73.4k
Last updatedJune 18, 2026
Repositorythedaviddias/front-end-checklist

What it does

Adds preload, prefetch, dns-prefetch, and preconnect hints so the browser fetches late-discovered critical resources in parallel.

Files

SKILL.mdMarkdownGitHub ↗

Add resource hints (preload, prefetch, dns-prefetch)

The browser's HTML parser discovers resources sequentially — a font referenced in a CSS file won't be fetched until the CSS is parsed. Resource hints break this dependency chain, allowing the browser to start fetching critical resources in parallel with parsing. A single preload directive for a critical font can eliminate a 100–300ms Flash of Invisible Text.

Quick Reference

  • preload forces immediate download of resources needed by the current page
  • prefetch fetches resources likely needed for the next navigation (low priority)
  • dns-prefetch resolves DNS for third-party origins in advance
  • preconnect does DNS + TCP + TLS for origins you'll connect to soon

Check

Look at this HTML file for late-discovered critical resources — fonts referenced in CSS, hero images, and key scripts. Identify where preload or preconnect hints would help.

Fix

Add appropriate preload hints for critical fonts, images, and scripts. Add preconnect for third-party domains used early in the page.

Explain

Explain each resource hint type (preload, prefetch, preconnect, dns-prefetch), when to use each, and the consequences of misusing them.

Code Review

Review templates, server-rendered HTML, and shared components that output markup related to Add resource hints (preload, prefetch, dns-prefetch). Flag exact elements, attributes, and routes where the rendered HTML violates the rule.

---

For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/en/rules/html/html-resource-hints

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.