Cache Strategy
Blocklight uses in-memory caching with configurable TTLs:- Transactions: 5 minutes TTL (default) - recent transaction data
Configuration
Configure cache TTLs inconfig.yaml:
Performance Impact
Caching significantly reduces RPC calls and improves latency:- Transaction receipts: Cached for 5 minutes to balance freshness and performance