fetchye icon indicating copy to clipboard operation
fetchye copied to clipboard

Order query params for more cache hits

Open JAdshead opened this issue 3 years ago • 2 comments

💡 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

JAdshead avatar Mar 31 '21 17:03 JAdshead

This issue is stale because it has been open 30 days with no activity.

oneamexbot avatar May 01 '21 00:05 oneamexbot

This issue is stale because it has been open 30 days with no activity.

oneamexbot avatar Aug 30 '24 00:08 oneamexbot