pub-dev icon indicating copy to clipboard operation
pub-dev copied to clipboard

Sanitize/normalize search queries before checking the cache

Open isoos opened this issue 10 months ago • 1 comments

The current search result cache logic uses the user-provided input query as part of the key. However, if the use adds random spaces or other filtered characters, we may use the same search terms eventually, but would fail to hit the cache on them.

isoos avatar Dec 10 '24 08:12 isoos