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

Index on page load #15

Open
dkobran opened this issue Sep 28, 2020 · 1 comment
Open

Index on page load #15

dkobran opened this issue Sep 28, 2020 · 1 comment

Comments

@dkobran
Copy link

dkobran commented Sep 28, 2020

The first search a user performs is painfully slow as indexing occurs before the search itself is performed. It would be ideal if there was a flag to set indexing to occur on page load.

@dkobran
Copy link
Author

dkobran commented Sep 28, 2020

The first search a user performs is painfully slow as indexing occurs before the search itself is performed. It would be ideal if there was a flag to set indexing to occur on page load.

If there is a concern for DDoSing your blog by indexing on every page load, then setting the indexing to occur on focus (when a user clicks the input, the data is fetched) would be an improvement. This assumes the indexing is triggered by the search itself which may be an invalid assumption.

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

1 participant