Skip to content
New issue

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

[ASCollectionView] Prevent prefetching from being enabled to eliminate overhead. #65

Merged
merged 1 commit into from
Apr 25, 2017

Conversation

appleguy
Copy link
Member

Some apps explicitly enable this, which is counterproductive with ASDK. This can also worsen data inconsistency issues as it creates additional traffic from UIKit.

…e overhead.

Some apps explicitly enable this, which is counterproductive with ASDK.
@appleguy appleguy self-assigned this Apr 24, 2017
@ghost
Copy link

ghost commented Apr 24, 2017

1 Error
🚫 Any source code changes should have an entry in CHANGELOG.md or have #trivial in their title.

Generated by 🚫 Danger

@maicki
Copy link
Contributor

maicki commented Apr 24, 2017

@Adlai-Holler @nguyenhuy Did we not recently have a conversation about this, as we discovered some problem around it? What was the conclusion again? Otherwise looks good to me!

@nguyenhuy
Copy link
Member

nguyenhuy commented Apr 24, 2017

@maicki The conclusion is that we want to disable prefetching universally and rely on our built-in ranges.

Prior to facebookarchive/AsyncDisplayKit#3263, ASCollectionNode and ASTableNode don't prefetch when they enter preload state. This problem should be fixed now.

Copy link
Contributor

@maicki maicki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on @nguyenhuy feedback let's get that in than now.

@appleguy
Copy link
Member Author

Awesome, thanks everyone!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants