Back to skills
SKILL.md
Caching
ASecurityHTTP caching, service workers, cache invalidation, and CDN configuration.
- 1,760 stars
- 0 votes
- 0 copies
- 4 views
- Added September 2, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add a5c-ai/babysitter --skill caching --agent claude-codeAre you the author of Caching?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-caching-babysitter)---
name: caching
description: HTTP caching, service workers, cache invalidation, and CDN configuration.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
graph:
domains: [domain:web-development]
specializations: [specialization:web-development]
skillAreas: [skill-area:data-fetching-caching, skill-area:caching-strategies]
roles: [role:frontend-engineer, role:backend-engineer]
topics: [topic:cache-aside-pattern]
---
# Caching Skill
Expert assistance for caching strategies.
## Capabilities
- Configure HTTP caching
- Implement service workers
- Set up CDN caching
- Handle cache invalidation
- Design caching architecture
## HTTP Cache Headers
```typescript
// Immutable assets
headers['Cache-Control'] = 'public, max-age=31536000, immutable';
// Dynamic content
headers['Cache-Control'] = 'private, no-cache, must-revalidate';
// Stale-while-revalidate
headers['Cache-Control'] = 'public, max-age=60, stale-while-revalidate=300';
```
## Service Worker
```javascript
self.addEventListener('fetch', (event) => {
event.respondWith(
caches.match(event.request).then((response) => {
return response || fetch(event.request);
})
);
});
```
## Target Processes
- caching-strategy
- performance-optimization
- pwa-development
Files in this skill
- README.md
- SKILL.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.