kwhitley / apicache

Simple API-caching middleware for Express/Node.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non strict routing not respected

aandis opened this issue · 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.

Here's a quick failing test.