Skip to content

Create a stable hash regardless of the order in which query params are presented #4

@Irrelon

Description

@Irrelon

At present, if the query param order changes in the URL, a new cache key is generated as the URL is "different".

e.g.

https://something.com/?foo=1&bar=2

vs

https://something.com/?bar=2&foo=1

Parsing the query params and checking their values against each other would provide a better all-round approach (although slightly more costly in CPU usage).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions