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

Limit feed prefetching to native #7038

Merged
merged 1 commit into from
Dec 10, 2024
Merged

Limit feed prefetching to native #7038

merged 1 commit into from
Dec 10, 2024

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Dec 10, 2024

Adjust #6904 to only do this for native. On web it causes too many requests that aren't being used due to opening in new tab.

Test Plan

On web, there's a noticeable loading state when switching Following -> Discover. Which confirms the change.

On native, the switch feels instant like before.

@arcalinea arcalinea temporarily deployed to prefetch-native - social-app PR #7038 December 10, 2024 18:17 — with Render Destroyed
@gaearon gaearon merged commit f34e8d8 into main Dec 10, 2024
6 checks passed
@gaearon gaearon deleted the prefetch-native branch December 10, 2024 18:23
Copy link

Old size New size Diff
7.74 MB 7.74 MB 4 B (0.00%)

Signez pushed a commit to Signez/bsky-social-app that referenced this pull request Dec 26, 2024
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.

4 participants