API Caching
Establishes comprehensive API caching strategies and performance optimization patterns for efficient cache management.
Install this skill
Security score
The API Caching skill was audited on Mar 1, 2026 and we found 14 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 191 | console.error(`Error fetching data for key ${key}:`, error); |
Template literal with variable interpolation in command context
| 219 | console.error(`Error updating data provider for key ${key}:`, error); |
Template literal with variable interpolation in command context
| 386 | return `user:${userId}:${resource}:${context.version || 'v1'}`; |
Template literal with variable interpolation in command context
| 415 | return `api:${method}:${endpoint}:${params}:${context.version || 'v1'}`; |
Template literal with variable interpolation in command context
| 604 | console.error(`Error in cache event listener for ${event}:`, error); |
Template literal with variable interpolation in command context
| 613 | const key = `resource:${data.resource}:${data.id}`; |
Template literal with variable interpolation in command context
| 619 | const pattern = `user:${data.userId}:*`; |
Template literal with variable interpolation in command context
| 760 | console.log(`🔥 Warming up cache for ${endpoints.length} endpoints`); |
Template literal with variable interpolation in command context
| 788 | console.log(`🔥 Warming endpoint: ${endpoint.path}`); |
Template literal with variable interpolation in command context
| 976 | message: `Low cache hit rate: ${(this.metrics.hitRate * 100).toFixed(2)}%`, |
Template literal with variable interpolation in command context
| 988 | message: `High eviction rate: ${(evictionRate * 100).toFixed(2)}%`, |
Template literal with variable interpolation in command context
| 999 | message: `Large cache size: ${(this.metrics.cacheSize / 1024 / 1024).toFixed(2)}MB`, |
Buffer.from base64 decode
| 371 | const json = Buffer.from(padded, 'base64').toString(); |
Buffer.from base64 decode
| 457 | const json = Buffer.from(padded, 'base64').toString(); |
Install this skill with one command
/learn @coverage-creatives/api-caching