Open ezekg opened 1 year ago
I’m reproducing this problem.
On iOS devices on the BrowserStack, Stork, that using my 24.2 megabyte index file, may:
This is a critical problem that forced me to remove Stork from my site.
I don’t reproduce the problem in browsers on Windows, macOS and Android operating systems when testing in the BrowserStack.
I saved the Stork search to the page 404 of my site. You can check out how this page with Stork works on iOS and other operating systems.
My index file search-index.st
.
BrowserStack’s environment:
Thanks.
I'm not sure if it's specific to iOS or specifically >20MB, but I've noticed that the
stork.register
call freezes the page when the search index is large, even when the script is loadedasync
. When I callstork.register
, the page freezes for a couple seconds until the search index is downloaded and ready to use. Is there a way to load a search index truly asynchronously?I also have it gzipped down to 1MB, but it still loads slow and freezes the page (can't scroll or interact). So maybe it's not the initial download, but something Stork is doing synchronously during initialization.
Let me know if you want a copy of the search index, or even access to the website's source code itself (it's a static site).
Due to this, I had to temporarily disable Stork on Keygen while I determine a fix.