Track
Track is a thread safe cache write by Swift. Composed of DiskCache and MemoryCache which support LRU. (by maquannene)
Cache
:package: Nothing but Cache. (by hyperoslo)
Track | Cache | |
---|---|---|
- | 2 | |
270 | 3,061 | |
-0.4% | 1.4% | |
0.0 | 5.4 | |
over 5 years ago | 3 months ago | |
Swift | Swift | |
MIT License | NOASSERTION |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Track
Posts with mentions or reviews of Track.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning Track yet.
Tracking mentions began in Dec 2020.
Cache
Posts with mentions or reviews of Cache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-23.
- Trouble building for ios device
-
SwiftUI jobs with low compensation?
For data storage, we have a caching layer that receives data from the cloud and stores it both in memory and on device. Then there is a pub model that notifies listeners when the data has been updated. it's pretty simple but works great! I like hyperoslo's implementation for cache: https://github.com/hyperoslo/Cache For units, we just build a protocol for the internet piece and provide the data locally. We cache the unit test data in a different folder on device and it all works seamlessly. I think the hardest part there was intercepting the HTTP requests and forking to the local test data. The key there was implementing a URLProtocol subclass.
What are some alternatives?
When comparing Track and Cache you can also consider the following projects:
RocketData - A caching and consistency solution for immutable models.
MGCacheManager - A delightful iOS and OS X Networking Cache Managing Class
YYCache - High performance cache framework for iOS.
mattress - iOS Offline Caching for Web Content
HanekeSwift - A lightweight generic cache for iOS written in Swift with extra love for images.