api-response-optimization
Optimize API response times through caching, compression, and efficient payloads. Improve backend performance and reduce network traffic.
By aj-geddes · 470 installs
npx skills add aj-geddes/useful-ai-prompts --skill api-response-optimization
Source repository · Upstream listing
API Response Optimization
Table of Contents
[Overview]( overview)
[When to Use]( when to use)
[Quick Start]( quick start)
[Reference Guides]( reference guides)
[Best Practices]( best practices)
Overview
Fast API responses improve overall application performance and user experience. Optimization focuses on payload size, caching, and query efficiency.
When to Use
Slow API response times
High server CPU/memory usage
Large response payloads
Performance degradation
Scaling bottlenecks
Quick Start
Minimal working example:
Reference Guides
Detailed implementations in the references/ directory:
Guide Contents
[Response Payload Optimization](references/response payload optimization.md) Response Payload Optimization
[Caching Strategies](references/caching strategies.md) Caching Strategies
[Compression & Performance](references/compression performance.md) Compression & Performance
[Optimization Checklist](references/optimization checklist.md) Optimization Checklist
Best Practices
✅ DO
Follow established patterns and conventions
Write clean, maintainable code
Add appropriate documentation
Test thoroughly before deploying
❌ DON'T
Skip testing or validation
Ignore error handling
Hard code configuration values