apicache icon indicating copy to clipboard operation
apicache copied to clipboard

Non strict routing not respected

Open aandis opened this issue 4 years ago • 1 comments

apicache uses the url as the key for caching responses. So even when the express app is not using strict routing (/foo and /foo/ are equivalent) you can end up with different responses because the cache key is different.

aandis avatar May 14 '20 15:05 aandis

Here's a quick failing test.

aandis avatar May 14 '20 15:05 aandis