Added method that will be used to clear app levvel cache.
This commit is contained in:
parent
522bc5d9cb
commit
2b8bd98bf0
@ -201,4 +201,5 @@ typedef void(^MVMCoreGetImageBlock)(UIImage * _Nullable, NSData * _Nullable, BOO
|
|||||||
|
|
||||||
- (BOOL)shouldSaveAtAppLevel:(nonnull NSDictionary *)jsonDictionary;
|
- (BOOL)shouldSaveAtAppLevel:(nonnull NSDictionary *)jsonDictionary;
|
||||||
|
|
||||||
|
-(void) clearPersistentAppLevelCache;
|
||||||
@end
|
@end
|
||||||
|
|||||||
@ -430,6 +430,10 @@ static NSString * const STATIC_CACHE_COMPONENT = @"StaticCache.txt";
|
|||||||
[[PersistentCacheManager shared] removeAllAndReturnError:nil];
|
[[PersistentCacheManager shared] removeAllAndReturnError:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-(void) clearPersistentAppLevelCache;{
|
||||||
|
[[PersistentCacheManager shared] removeAllAppLevelAndReturnError:nil];
|
||||||
|
}
|
||||||
|
|
||||||
- (void)clearMFCache {
|
- (void)clearMFCache {
|
||||||
[self.pageTypeQueue cancelAllOperations];
|
[self.pageTypeQueue cancelAllOperations];
|
||||||
[self.moduleQueue cancelAllOperations];
|
[self.moduleQueue cancelAllOperations];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user