Commit Graph

2 Commits

Author SHA1 Message Date
095e15cd5f feat: speed up cache operations with optimized encryption
Cache load/save operations now complete in milliseconds instead of
hundreds of milliseconds, making transaction syncs noticeably faster
while maintaining full AES-GCM security.
2025-11-29 00:37:05 +01:00
53087fa900 Implement encrypted transaction caching for GoCardless adapter
- Reduces GoCardless API calls by up to 99% through intelligent caching of transaction data
- Secure AES-GCM encryption with PBKDF2 key derivation (200k iterations) for at-rest storage
- Automatic range merging and transaction deduplication to minimize storage and API usage
- Cache-first approach with automatic fetching of uncovered date ranges
- Comprehensive test suite with 30 unit tests covering all cache operations and edge cases
- Thread-safe implementation with in-memory caching and encrypted disk persistence

Cache everything Gocardless sends back
2025-11-27 21:24:30 +01:00