prefetch

Official

Prefetch resources to speed up user navigation.

AuthorPatternsDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Prefetching resources helps reduce perceived latency by loading assets you expect the user will need next before they are requested.

Core Features & Use Cases

  • Declarative prefetch via HTML link rel="prefetch" to fetch upcoming resources during idle time.
  • Build-time hints like Webpack magic comments to prefetch modules.
  • Service Worker strategies to prime caches for anticipated navigations.
  • Use Case: When routing users to a known next page, prefetch the JS/CSS for that page to speed up navigation.

Quick Start

Use HTML rel="prefetch" tags or bundler hints to start prefetching resources you expect users will navigate to soon.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: prefetch
Download link: https://github.com/PatternsDev/skills/archive/main.zip#prefetch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.