n8n-nodes-cache
v1.1.0
Published
N8N custom nodes for intelligent data caching with multiple backend support
Maintainers
Readme
n8n Cache Nodes
A collection of custom n8n nodes for intelligent data caching with multiple backend support.
Nodes
Data Cache
Universal data caching node that automatically checks cache for data and returns cached results on hit, or passes data for processing on miss.
Features:
- Multiple backend support (Memory, Shared Memory, Redis)
- Configurable TTL (Time To Live)
- Batch processing mode
- Automatic cache key generation
- Force miss option for testing
Cache Manager
Comprehensive cache management node for direct cache operations.
Operations:
- Set: Store data in cache with specific key and TTL
- Get: Retrieve data from cache by key
- Delete: Remove specific cache entry by key
- Clear: Remove all cache entries
- List: List all available cache keys
Installation
- Install the package:
npm install n8n-nodes-cache- Add to your n8n configuration:
{
"n8n": {
"nodes": {
"include": ["n8n-nodes-cache"]
}
}
}- Restart n8n
Backend Support
- Memory (Single Node): Fast in-memory cache limited to single node execution
- Shared Memory (Workflow): Shared memory cache across workflow nodes
- Redis: Persistent cache shared across all n8n instances (requires Redis credentials)
Usage
Data Cache: Connect your data source to the "Input" port. If cache miss, connect processing nodes to "Cache Miss" output, then connect processed data back to "Write" input.
Cache Manager: Use for manual cache operations like clearing cache, managing specific keys, or debugging cache contents.
Requirements
- n8n v1.0+
- Redis (optional, for Redis backend)
