api-response-optimization

Community

Reduce API latency with caching & compression

Authorcenjie
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Slow API responses and large payloads increase latency, consume bandwidth, and degrade user experience; this Skill focuses on reducing response time and payload size to improve application performance and scalability.

Core Features & Use Cases

  • HTTP Caching: Guidance on Cache-Control, ETag, and Last-Modified headers to reduce repeated work and enable 304 responses.
  • Compression & Payload Minimization: Recommendations for gzip/brotli compression, sparse fieldsets, and removing sensitive or unused fields.
  • Query and Infrastructure Optimization: Advice on caching layers, query caching, fragment caching, and database/query tuning with monitoring and alerting.
  • Use Case: Speed up a user profile endpoint by removing sensitive fields, enabling response caching with proper keys, and serving compressed JSON to cut latency and bandwidth.

Quick Start

Use the api-response-optimization resources to add Cache-Control and ETag headers, remove unnecessary fields from responses, and enable gzip or brotli compression on API responses.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: api-response-optimization
Download link: https://github.com/cenjie/skills/archive/main.zip#api-response-optimization

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.