SwiftPromptCacheKitPro
$19
$19
https://schema.org/InStock
usd
Relja BulajiΔ
β¨ A professional-grade AI prompt cache for Swift developers
SwiftPromptCacheKitPro is a powerful Swift Package that adds production-ready caching of AI prompt β response pairs. It helps developers reduce API costs, speed up response times, and add intelligent caching to their apps with zero effort.
π§ Why this matters
Calling OpenAI, Claude, or DeepSeek repeatedly costs money. This tool adds automatic dual-layer caching (memory + disk), TTL expiration, and full performance stats.
π Key Features
- β
Dual-layer cache: memory (
NSCache
) + persistent disk (JSON) - β° Time-to-Live (TTL): responses expire automatically
- π Cache analytics: track hits, misses, hit rates
- βοΈ Custom configuration: memory size, TTL, paths
- π§΅ Thread-safe: built with Swift concurrency
- π Works on iOS, macOS, tvOS, watchOS β zero dependencies
π¦ What's included
- Complete Swift package
- README with installation and examples
- LICENSE (MIT)
- Bonus: Custom AIServiceManager class for fast integration
π‘ Who is this for?
- iOS/macOS developers working with OpenAI, Claude, DeepSeek, etc.
- Developers building LLM-powered apps
- Agencies and freelancers working with multiple AI APIs
π License
Licensed under MIT. You may use it in commercial apps, but resale or redistribution of this package is not allowed.
(This version includes all pro features. For the free version, see https://github.com/R3LJA/SwiftPromptCacheKit)
Advanced AI caching Swift package with TTL, performance tracking & dual-layer memory/disk storage.
Dual-Layer Caching
Combines in-memory and disk-based caching for high performance and persistent storage.
Time-To-Live (TTL)
Set custom expiration times for cached responses and automatically clean up expired data.
Performance Metrics
Track cache hits, misses, and detailed usage statistics to optimize your AI usage.
Developer Ready
Built for Swift Concurrency, fully thread-safe, zero dependencies, and ready for production apps.
Size
86.8 MB
Add to wishlist