compression

Installation
SKILL.md

Compressing JavaScript

Table of Contents

JavaScript is the second biggest contributor to page size and the second most requested web resource on the internet after images. We use patterns that reduce the transfer, load, and execution time for JavaScript to improve website performance. Compression can help reduce the time needed to transfer scripts over the network.

When to Use

  • Use this when you need to reduce JavaScript payload sizes for faster page loads
  • This is helpful when optimizing network transfer times, especially for users on slower connections
  • Use this alongside minification, code-splitting, and caching strategies

Instructions

Installs
583
GitHub Stars
231
First Seen
Mar 30, 2026
compression — patternsdev/skills