fetchye
fetchye copied to clipboard
Order query params for more cache hits
💡 Feature request
Is your feature request related to a problem? Please describe
Currently query params are required to be in the same order for a cache hit.
The following calls will not be considered the same and will result in unexpected cache misses:
useFetchye('https://test.com/some-path?a=1&b=2')
useFetchye("https://test.com/some-path?b=2&a=1')
Example
Oder of query params should not matter.
useFetchye('https://test.com/some-path?a=1&b=2')
and useFetchye('https://test.com/some-path?b=2&a=1')
will use the same cache entry
This issue is stale because it has been open 30 days with no activity.
This issue is stale because it has been open 30 days with no activity.