third-party
OfficialReduce third-party script impact on performance.
Software Engineering#web-performance#lazy-loading#frontend-optimization#third-party-scripts#resource-hints#async-defer
AuthorPatternsDev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Mitigate the performance impact of third-party scripts on web pages, helping teams maintain fast load times and good Core Web Vitals while preserving essential functionality.
Core Features & Use Cases
- Async/Defer Loading: load non-critical scripts without blocking rendering.
- Resource Hints and Preconnect: establish early connections to third-party origins to reduce latency.
- Lazy-Load Heavy Embeds: defer YouTube, maps, and social widgets until needed.
- Self-Hosting & Caching: host critical third-party scripts on your domain for better control and caching.
- Use Case: e.g., e-commerce product pages with analytics and chat widgets, marketing sites with ad and tag managers, content sites with social embeds.
Quick Start
Implement async or defer for non-critical scripts, add dns-prefetch/preconnect hints, and lazy-load heavy third-party embeds to reduce page load time.
Dependency Matrix
Required Modules
None requiredComponents
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: third-party Download link: https://github.com/PatternsDev/skills/archive/main.zip#third-party Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.