Skip to content

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

@yorickpeterse

Description

@yorickpeterse

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions