Swift Cache Libraries

Cache libraries for Swift

GitHub Star Comparison

Swift Cache Libraries GitHub Star Comparison
NoNameGitHub StarsDescriptionTrendLicenseTypeOfficial Site
1NSCache-Standard iOS in-memory cache class. Provides automatic memory management and auto-removal during memory pressureAbsolute position as foundational technology for iOS/macOS development in 2025. Highest reliability with official Apple supportApple SDKFoundation CacheOfficial
2HanekeSwift-Lightweight generic cache library for Swift. Provides features specialized for image caching with auto-resizing and background processingImportant choice for image-intensive iOS apps in 2025. Continued adoption through optimization for UITableView/UICollectionViewApache-2.0Image CacheOfficial
3Cache-Modern cache library supporting Swift Package Manager. Supports both memory and disk with time limits and capacity limitsRising attention due to Swift Package Manager adoption in 2025. Ecosystem integration in modern Swift developmentMITSPM CacheOfficial
4AwesomeCache-Simple and easy-to-use Swift cache library. Clean API designed for delicate caching requirementsStandard choice for small iOS projects in 2025. Continued demand through simplicity and ease of useMITSimple CacheOfficial
5Pocket-Lightweight and high-performance Swift cache framework. Supports both memory and disk with expiration and custom serialization featuresGaining attention in high-performance demanding iOS apps in 2025. Expanding adoption through balance of customizability and performanceMITPerformance CacheOfficial
6CodableCache-Swift cache library supporting Codable protocol. Type-safe cache operations and Swift-native serializationAdopted in applications utilizing Swift type system in 2025. Development efficiency improvement through Codable integrationMITCodable CacheOfficial