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

Search index caching may be problematic after deployment #207

Open
cfa opened this issue Mar 6, 2023 · 1 comment
Open

Search index caching may be problematic after deployment #207

cfa opened this issue Mar 6, 2023 · 1 comment
Labels
build Building the site

Comments

@cfa
Copy link
Contributor

cfa commented Mar 6, 2023

@lizmat and I just encountered the following issue:

  • The documentation was updated, including the addition of new content: https://docs.raku.org/language/terms.html#term_nano
  • @coke deployed the doc site, making the above available
  • The link works but nano isn't found in the search bar, even after a force page reload;
    • …it is, however, found in an incognito browser session

In other words, there seems to be local caching (in the browser) of the search index. Ideally this should be refreshed following a site update/deployment.

@coke coke added build Building the site search Issues with search functionality labels Mar 6, 2023
@coke coke added this to the 2023-Quarter 1 milestone Mar 6, 2023
@coke coke modified the milestones: 2023-Quarter 1, 2023-Quarter 2 Apr 1, 2023
@coke coke modified the milestones: 2023-Quarter 2, 2023-Quarter 3 Jul 12, 2023
@finanalyst
Copy link
Collaborator

@cfa please would you check this issue remains. The search functionality has been refactored. Search data is only loaded into the page when the search bar receives focus. The data is in a static file, so caching may still be a concern.

@coke coke modified the milestones: 2023-Quarter 3, 2023-Quarter 4 Oct 8, 2023
@finanalyst finanalyst removed the search Issues with search functionality label Oct 13, 2023
@coke coke removed this from the 2023-Quarter 4 milestone Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Building the site
Projects
None yet
Development

No branches or pull requests

3 participants