SimpleCacheGatewaysProvider
Overview
The SimpleCacheGatewaysProvider
holds the resulting gateways in memory for the provided TTL, making it ideal for Node environments. This helps avoid rate-limits and unnecessary network requests to the underlying gateways provider.
Important
SimpleCacheGatewaysProvider
is ideal for Node.js/server environments. For browser-based web applications, use LocalStorageGatewaysProvider
instead to persist gateway lists across sessions.
Basic Usage
Configuration Options
Related Documentation
- Gateway Providers: Compare all gateway providers
- NetworkGatewaysProvider: Dynamic network discovery
- StaticGatewaysProvider: Static gateway configuration
- Wayfinder Configuration: Main wayfinder setup