We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a method that allows to get the date when the cache was created.
- (NSDate*) getCreatedAt:(NSString*)key;
It will then allow to use this logic.
if has cachedData load from cachedData if cachedCreateDate is old fetch online, cache it and reload else fetch online, cache it and load
I want to set the cache as long as possible, but if it is old I would like to load from cache and fetch online too.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
add a method that allows to get the date when the cache was created.
It will then allow to use this logic.
I want to set the cache as long as possible, but if it is old I would like to load from cache and fetch online too.
The text was updated successfully, but these errors were encountered: