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

Slow homepage response on iOS / iPadOS Safari #4270

Closed
andyeff opened this issue Apr 16, 2023 · 1 comment
Closed

Slow homepage response on iOS / iPadOS Safari #4270

andyeff opened this issue Apr 16, 2023 · 1 comment

Comments

@andyeff
Copy link

andyeff commented Apr 16, 2023

A lengthy delay in the This Week in Rust homepage becoming interactive on iOS has been observed, on both an iPhone 13 and an iPad (6th-gen).

The delay can be up to 10-11 seconds before the page is fully rendered and links become interactable.

An example screen capture showing this can be found in the embedded video at https://qth.social/@andyf/110209113521888114 (or directly at https://qth.social/system/media_attachments/files/110/209/109/931/381/825/original/e0336127f25696fb.mp4 )

From what I've been able to observe, might it be an issue with a search-index.st being sent to the client, which looks to be a 15MB blob, and that the processing of this index is what is blocking a main thread in Safari?

Everything works perfectly on desktop safari and firefox, on both Mac and Windows.

@andrewpollack
Copy link
Member

Looking into this now, thank you for raising this issue! Indeed slowness is coming from loading the search functionality

To ensure the frontpage experience is smooth across different reading devices, we've temporarily deactivated the search feature (reflected now on the website), and created a followup issue at #4271 . I've confirmed on my end that this has resolved the slowness, but please let us know if the slowness continues on those devices!

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

No branches or pull requests

2 participants