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

Come up with a better strategy for cache busting the search.json file #3

Open
yorickpeterse opened this issue Jul 30, 2024 · 0 comments
Labels
accepting contributions Contributions from non-maintainers are accepted feature

Comments

@yorickpeterse
Copy link
Contributor

yorickpeterse commented Jul 30, 2024

Description

For this file we currently just use the current time in the query string. This effectively means that for Inko main every push does a full site update, which isn't great.

What we'd likely have to do to fix this is to generate the JSON before we generate any of the pages, hash it, then pass that hash to every page somehow. I however worry a bit that the resulting code gets a bit messy as a result. As such, we'll probably have to experiment with different options to see what works best.

Related work

No response

@yorickpeterse yorickpeterse added feature accepting contributions Contributions from non-maintainers are accepted labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepting contributions Contributions from non-maintainers are accepted feature
Projects
None yet
Development

No branches or pull requests

1 participant