# Caching strategy (/performance--cache)

/performance--cache is a Claude Code skill in the Code section. Designs and implements a caching strategy for API responses, database queries or expensive computations, including invalidation.

- Web version: https://skills.sgomez.dev/en/s/performance--cache
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/performance/cache.md
- Updated 26 Mar 2026

## How to ask for it

- `/performance--cache add caching to my API responses`
- `/performance--cache cache the results of this expensive database query`
- `/performance--cache design a caching strategy for repeated computations`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install performance-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*`
- Runs: —
- Network: No
- Destructive: No

## Author's description

Implement caching strategy for API responses, database queries, or computations

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
