원클릭으로
caching-strategy
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Analyzes the current session's token usage, pinpoints where tokens were wasted, and produces concrete optimization actions
Generates API documentation from route definitions (Express, Fastify, Hono, etc.)
Staged değişiklikleri analiz edip Conventional Commits formatında commit mesajı oluşturur
Reports cyclomatic complexity hotspots and refactoring suggestions
Finds unused functions, variables, exports, and dependencies across the codebase
Hata mesajı veya stack trace alır, kök nedeni bulur ve düzeltir
| name | caching-strategy |
| description | Adds caching to expensive operations - Redis, in-memory, HTTP cache headers |
| argument-hint | ["file-or-endpoint"] |
| user-invocable | true |
| allowed-tools | Read Grep Glob Edit |
| effort | medium |
Target: $1 (or analyze top bottlenecks if not specified)
grep -rn "db\.\|prisma\.\|fetch\|axios" ${1:-src/} --include="*.ts" | grep -v "test\|spec" | head -20
What's cacheable?
What's NOT cacheable?
Choose caching layer by use case:
Map): single instance, fastest, lost on restartCache-Control: browser/CDN caching for GET responsesImplement with proper cache keys:
const cacheKey = `user:${userId}:profile`
const cached = await redis.get(cacheKey)
if (cached) return JSON.parse(cached)
const result = await db.user.findUnique(...)
await redis.set(cacheKey, JSON.stringify(result), 'EX', 300) // 5min TTL
Add cache invalidation on mutations.
Show estimated performance improvement.