Updating page cache scenario
This commit is contained in:
parent
5864860045
commit
262f9c9d5b
@ -862,12 +862,11 @@
|
||||
//Needs further enhancements based on the flags.
|
||||
BOOL shouldTriggerFromCache = [postCallsDict boolForKey:@"shouldTriggerFromCache"];
|
||||
//Check if page is not from cache
|
||||
if (!shouldTriggerFromCache && !loadObject.pageDataFromCache) {
|
||||
if (!loadObject.pageDataFromCache || (shouldTriggerFromCache && loadObject.pageDataFromCache)) {
|
||||
[actionList enumerateObjectsUsingBlock:^(id _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
|
||||
[[MVMCoreActionHandler sharedActionHandler] handleActionWithDictionary:obj additionalData:nil delegateObject:nil];
|
||||
}];
|
||||
}
|
||||
//Needs to handle when page is from cache.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user